8248906: runtime/Thread/ThreadObjAccessAtExit.java fails due to OutOfMemoryErrors

Reviewed-by: mdoerr
This commit is contained in:
David Holmes 2020-08-04 21:11:45 -04:00
parent 45c4d9d519
commit 6b8c16cf41

View File

@ -30,8 +30,8 @@
* @library /testlibrary /test/lib
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* @comment run with a small heap, but we need at least 7M for ZGC
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xmx7m -XX:-DisableExplicitGC ThreadObjAccessAtExit
* @comment run with a small heap, but we need at least 11M for ZGC with JFR
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xmx11m -XX:-DisableExplicitGC ThreadObjAccessAtExit
*/
import sun.hotspot.WhiteBox;