test/java/lang/management/MemoryMXBean/LowMemoryTest2.sh
Print this page
*** 23,33 ****
#
# @test
# @bug 4982128
# @summary Test low memory detection of non-heap memory pool
! #
# @run build LowMemoryTest2 MemoryUtil
# @run shell/timeout=600 LowMemoryTest2.sh
#
if [ ! -z "${TESTJAVA}" ] ; then
--- 23,33 ----
#
# @test
# @bug 4982128
# @summary Test low memory detection of non-heap memory pool
! # @requires vm.gc=="null"
# @run build LowMemoryTest2 MemoryUtil
# @run shell/timeout=600 LowMemoryTest2.sh
#
if [ ! -z "${TESTJAVA}" ] ; then