summaryrefslogtreecommitdiff
path: root/test/554-jit-profile-file/src/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/554-jit-profile-file/src/Main.java')
-rw-r--r--test/554-jit-profile-file/src/Main.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/554-jit-profile-file/src/Main.java b/test/554-jit-profile-file/src/Main.java
index 9228070d96..98297ed8ed 100644
--- a/test/554-jit-profile-file/src/Main.java
+++ b/test/554-jit-profile-file/src/Main.java
@@ -39,7 +39,7 @@ public class Main {
private static final String PROFILE_FILE = PKG_NAME + ".prof";
private static final String TEMP_FILE_NAME_PREFIX = "dummy";
private static final String TEMP_FILE_NAME_SUFFIX = "-file";
- private static final int JIT_INVOCATION_COUNT = 101;
+ private static final int JIT_INVOCATION_COUNT = 200;
/* needs to match Runtime:: kProfileBackground */
private static final int PROFILE_BACKGROUND = 1;
@@ -72,8 +72,8 @@ public class Main {
o.hotMethod();
}
- // Sleep for 1 second to make sure that the methods had a chance to get compiled.
- Thread.sleep(1000);
+ // Sleep for 2 second to make sure that the methods had a chance to get compiled.
+ Thread.sleep(2000);
// Updating the process state to BACKGROUND will trigger profile saving.
VMRuntime.updateProcessState(PROFILE_BACKGROUND);