< prev index next >

test/gc/cms/TestBubbleUpRef.java

Print this page

        

*** 33,43 **** * @bug 4950157 * @summary Stress the behavior of ergonomics when the heap is nearly full and * stays nearly full. * @run main/othervm * -XX:+UseConcMarkSweepGC -XX:-CMSYield -XX:-CMSPrecleanRefLists1 ! * -XX:CMSInitiatingOccupancyFraction=0 -Xmx8m TestBubbleUpRef 16000 50 10000 */ /** * Test program to stress the behavior of ergonomics when the * heap is nearly full and stays nearly full. --- 33,43 ---- * @bug 4950157 * @summary Stress the behavior of ergonomics when the heap is nearly full and * stays nearly full. * @run main/othervm * -XX:+UseConcMarkSweepGC -XX:-CMSYield -XX:-CMSPrecleanRefLists1 ! * -XX:CMSInitiatingOccupancyFraction=0 -Xmx80m TestBubbleUpRef 16000 50 10000 */ /** * Test program to stress the behavior of ergonomics when the * heap is nearly full and stays nearly full.
*** 51,61 **** * System.gc() in the hopes that it will acquire the collection * Free the weak references * Do it again. * * Use the following VM options ! * -Xmx8m -XX:-CMSYield [-XX:+UseConcMarkSweepGC] -XX:-CMSPrecleanRefLists1 * -XX:CMSInitiatingOccupancyFraction=0 * * Use parameter: * args[0] - array size (16000) * args[1] - iterations (50) --- 51,61 ---- * System.gc() in the hopes that it will acquire the collection * Free the weak references * Do it again. * * Use the following VM options ! * -Xmx80m -XX:-CMSYield [-XX:+UseConcMarkSweepGC] -XX:-CMSPrecleanRefLists1 * -XX:CMSInitiatingOccupancyFraction=0 * * Use parameter: * args[0] - array size (16000) * args[1] - iterations (50)
< prev index next >