Skip to content

Commit f731c87

Browse files
authored
Merge pull request #22200 from pshipton/softmx
Avoid core creation for intentional OOM by testSoftMxLocal
2 parents 47a6dd1 + 96b6fb3 commit f731c87

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/functional/JLM_Tests/playlist.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
264264
</variations>
265265
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) \
266266
$(JAVA_COMMAND) $(JVM_OPTIONS) \
267+
-Xdump:system:none -Xdump:system:events=gpf+user+abort+traceassert+corruptcache -Xdump:heap:none \
267268
-Xmx1024m -Xsoftmx512m -Xmn1m -verbose:gc -Xverbosegclog:$(REPORTDIR)$(D)vgc.log \
268269
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)jlm_tests.jar$(Q) \
269270
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \
@@ -296,6 +297,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
296297
</variations>
297298
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) \
298299
$(JAVA_COMMAND) $(JVM_OPTIONS) \
300+
-Xdump:system:none -Xdump:system:events=gpf+user+abort+traceassert+corruptcache -Xdump:heap:none \
299301
-Xmx1024m -Xsoftmx512m -Xmn1m -verbose:gc -Xverbosegclog:$(REPORTDIR)$(D)vgc.log \
300302
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)jlm_tests.jar$(Q) \
301303
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \
@@ -328,6 +330,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
328330
</variations>
329331
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) \
330332
$(JAVA_COMMAND) $(JVM_OPTIONS) \
333+
-Xdump:system:none -Xdump:system:events=gpf+user+abort+traceassert+corruptcache -Xdump:heap:none \
331334
-Xmx768m -Xsoftmx512m -Xmn1m -verbose:gc -Xverbosegclog:$(REPORTDIR)$(D)vgc.log \
332335
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)jlm_tests.jar$(Q) \
333336
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \
@@ -416,6 +419,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
416419
</variations>
417420
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) \
418421
$(JAVA_COMMAND) $(JVM_OPTIONS) \
422+
-Xdump:system:none -Xdump:system:events=gpf+user+abort+traceassert+corruptcache -Xdump:heap:none \
419423
-Xmx1024m -Xsoftmx512m -Xmn1m -Xlp:objectheap:pagesize=4k -verbose:gc -Xverbosegclog:$(REPORTDIR)$(D)vgc.log \
420424
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)jlm_tests.jar$(Q) \
421425
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \
@@ -448,6 +452,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
448452
</variations>
449453
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) \
450454
$(JAVA_COMMAND) $(JVM_OPTIONS) \
455+
-Xdump:system:none -Xdump:system:events=gpf+user+abort+traceassert+corruptcache -Xdump:heap:none \
451456
-Xmx1024m -Xsoftmx512m -Xmn1m -Xlp:objectheap:pagesize=64k -verbose:gc -Xverbosegclog:$(REPORTDIR)$(D)vgc.log \
452457
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)jlm_tests.jar$(Q) \
453458
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \

0 commit comments

Comments
 (0)