8069011: gc/TestSmallHeap.java failing in nightly
Using @requires to avoid running with AggressiveOpts turned on. Reviewed-by: jwilhelm, brutisso
This commit is contained in:
parent
d508c520f0
commit
3a11c1d75c
@ -25,6 +25,7 @@
|
|||||||
* @test TestSmallHeap
|
* @test TestSmallHeap
|
||||||
* @bug 8067438
|
* @bug 8067438
|
||||||
* @requires vm.gc=="null"
|
* @requires vm.gc=="null"
|
||||||
|
* @requires (vm.opt.AggressiveOpts=="null") | (vm.opt.AggressiveOpts=="false")
|
||||||
* @summary Verify that starting the VM with a small heap works
|
* @summary Verify that starting the VM with a small heap works
|
||||||
* @library /testlibrary /../../test/lib
|
* @library /testlibrary /../../test/lib
|
||||||
* @build TestSmallHeap
|
* @build TestSmallHeap
|
||||||
@ -33,8 +34,9 @@
|
|||||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xmx2m -XX:+UseSerialGC TestSmallHeap
|
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xmx2m -XX:+UseSerialGC TestSmallHeap
|
||||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xmx2m -XX:+UseG1GC TestSmallHeap
|
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xmx2m -XX:+UseG1GC TestSmallHeap
|
||||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xmx2m -XX:+UseConcMarkSweepGC TestSmallHeap
|
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xmx2m -XX:+UseConcMarkSweepGC TestSmallHeap
|
||||||
*
|
*/
|
||||||
* Note: It would be nice to verify the minimal supported heap size (2m) here,
|
|
||||||
|
/* Note: It would be nice to verify the minimal supported heap size (2m) here,
|
||||||
* but we align the heap size based on the card table size. And the card table
|
* but we align the heap size based on the card table size. And the card table
|
||||||
* size is aligned based on the minimal pages size provided by the os. This
|
* size is aligned based on the minimal pages size provided by the os. This
|
||||||
* means that on most platforms, where the minimal page size is 4k, we get a
|
* means that on most platforms, where the minimal page size is 4k, we get a
|
||||||
|
Loading…
Reference in New Issue
Block a user