Skip to content

Commit 7c1ebcc

Browse files
committed
8299962: Speed up compiler/intrinsics/unsafe/DirectByteBufferTest.java and HeapByteBufferTest.java
Reviewed-by: kvn, thartmann
1 parent abfd7e8 commit 7c1ebcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/hotspot/jtreg/compiler/intrinsics/unsafe/DirectByteBufferTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public DirectByteBufferTest(long iterations, boolean direct) {
4141
public static void main(String[] args) {
4242
// The number of iterations is high to ensure that tiered
4343
// compilation kicks in all the way up to C2.
44-
long iterations = 100000;
44+
long iterations = 5000;
4545
if (args.length > 0)
4646
iterations = Long.parseLong(args[0]);
4747

test/hotspot/jtreg/compiler/intrinsics/unsafe/HeapByteBufferTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public HeapByteBufferTest(long iterations, boolean direct) {
5959
public static void main(String[] args) {
6060
// The number of iterations is high to ensure that tiered
6161
// compilation kicks in all the way up to C2.
62-
long iterations = 100000;
62+
long iterations = 5000;
6363
if (args.length > 0)
6464
iterations = Long.parseLong(args[0]);
6565

0 commit comments

Comments
 (0)