8282651: ZGC: vmTestbase/gc/ArrayJuggle/ tests fails intermittently with exit code 97

Reviewed-by: lmesnik
This commit is contained in:
Ramkumar Sunderbabu 2023-01-18 06:53:04 +00:00 committed by Fairoz Matte
parent f1194dc07e
commit 1f438a8a70
34 changed files with 208 additions and 62 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,7 +31,12 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp byteArr -ms low
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp byteArr
* -ms low
*/
package gc.ArrayJuggle.Juggle01;
@ -48,12 +53,15 @@ public class Juggle01 extends ThreadedGCTest implements GarbageProducerAware, Me
private GarbageProducer garbageProducer;
private MemoryStrategy memoryStrategy;
private Object[] array;
private Object[] indexLocks;
long objectSize;
private class Juggler implements Runnable {
public void run() {
synchronized (this) {
int index = LocalRandom.nextInt(array.length);
int index = LocalRandom.nextInt(array.length);
// Synchronizing to prevent multiple object creation for the same index at the same time.
synchronized (indexLocks[index]) {
array[index] = null;
array[index] = garbageProducer.create(objectSize);
}
}
@ -72,6 +80,10 @@ public class Juggle01 extends ThreadedGCTest implements GarbageProducerAware, Me
log.debug("Object count: " + objectCount);
log.debug("Object size: " + objectSize);
array = new Object[objectCount - 1];
indexLocks = new Object[objectCount - 1];
for (int i = 0; i < indexLocks.length; i++) {
indexLocks[i] = new Object();
}
super.run();
}

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp byteArr -ms medium
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp byteArr
* -ms medium
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp byteArr -ms high
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp byteArr
* -ms high
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp byteArr -ms low
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp byteArr
* -ms low
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -32,6 +32,7 @@
* @library /vmTestbase
* /test/lib
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp booleanArr

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp booleanArr -ms high
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp booleanArr
* -ms high
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp shortArr -ms low
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp shortArr
* -ms low
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp shortArr -ms medium
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp shortArr
* -ms medium
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp shortArr -ms high
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp shortArr
* -ms high
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp charArr -ms low
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp charArr
* -ms low
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,12 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log -Djava.security.manager=allow gc.ArrayJuggle.Juggle01.Juggle01 -gp charArr -ms medium
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* -Djava.security.manager=allow
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp charArr
* -ms medium
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp charArr -ms high
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp charArr
* -ms high
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp intArr -ms low
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp intArr
* -ms low
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp intArr -ms medium
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp intArr
* -ms medium
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp intArr -ms high
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp intArr
* -ms high
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp longArr -ms low
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp longArr
* -ms low
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp longArr -ms medium
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp longArr
* -ms medium
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp longArr -ms high
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp longArr
* -ms high
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp floatArr -ms low
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp floatArr
* -ms low
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp floatArr -ms medium
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp floatArr
* -ms medium
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp floatArr -ms high
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp floatArr
* -ms high
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp doubleArr -ms low
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp doubleArr
* -ms low
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp doubleArr -ms medium
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp doubleArr
* -ms medium
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp doubleArr -ms high
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp doubleArr
* -ms high
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp objectArr -ms low
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp objectArr
* -ms low
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp objectArr -ms medium
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp objectArr
* -ms medium
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,11 @@
*
* @library /vmTestbase
* /test/lib
* @run main/othervm -Xlog:gc=debug:gc.log gc.ArrayJuggle.Juggle01.Juggle01 -gp objectArr -ms high
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp objectArr
* -ms high
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -32,6 +32,7 @@
* @library /vmTestbase
* /test/lib
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp hashed(doubleArr)

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -32,6 +32,7 @@
* @library /vmTestbase
* /test/lib
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp hashed(doubleArr)

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -32,6 +32,7 @@
* @library /vmTestbase
* /test/lib
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp hashed(doubleArr)

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -32,6 +32,7 @@
* @library /vmTestbase
* /test/lib
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp hashed(objectArr)

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -32,6 +32,7 @@
* @library /vmTestbase
* /test/lib
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp hashed(objectArr)

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -32,6 +32,7 @@
* @library /vmTestbase
* /test/lib
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp hashed(objectArr)

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -32,6 +32,7 @@
* @library /vmTestbase
* /test/lib
* @run main/othervm
* -XX:+HeapDumpOnOutOfMemoryError
* -Xlog:gc=debug:gc.log
* gc.ArrayJuggle.Juggle01.Juggle01
* -gp random(arrays)