mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-11 00:13:09 +00:00
8299962: Speed up compiler/intrinsics/unsafe/DirectByteBufferTest.java and HeapByteBufferTest.java
Reviewed-by: kvn, thartmann
This commit is contained in:
parent
abfd7e89f6
commit
7c1ebcc4ce
@ -41,7 +41,7 @@ public class DirectByteBufferTest extends ByteBufferTest {
|
||||
public static void main(String[] args) {
|
||||
// The number of iterations is high to ensure that tiered
|
||||
// compilation kicks in all the way up to C2.
|
||||
long iterations = 100000;
|
||||
long iterations = 5000;
|
||||
if (args.length > 0)
|
||||
iterations = Long.parseLong(args[0]);
|
||||
|
||||
|
||||
@ -59,7 +59,7 @@ public class HeapByteBufferTest extends ByteBufferTest {
|
||||
public static void main(String[] args) {
|
||||
// The number of iterations is high to ensure that tiered
|
||||
// compilation kicks in all the way up to C2.
|
||||
long iterations = 100000;
|
||||
long iterations = 5000;
|
||||
if (args.length > 0)
|
||||
iterations = Long.parseLong(args[0]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user