Skip to content

Commit 3e069e2

Browse files
author
duke
committed
Backport 693847452f208446a34186f142fe2c56a49ceceb
1 parent 990859c commit 3e069e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jdk/jdk/jfr/event/gc/stacktrace/AllocationStackTrace.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ public void allocate() {
7979
class OldGenMemoryAllocator extends MemoryAllocator {
8080

8181
private List<byte[]> list = new ArrayList<byte[]>();
82-
private int counter = 6000;
82+
private int counter = 5000;
8383

8484
@Override
8585
public void allocate() {
8686
if (counter-- > 0) {
8787
list.add(new byte[10 * KB]);
8888
} else {
8989
list = new ArrayList<byte[]>();
90-
counter = 6000;
90+
counter = 5000;
9191
}
9292

9393
garbage = list;

0 commit comments

Comments
 (0)