eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 721 forks source link

HCRLateAttachWorkload_0 testGlobalTreeMap OutOfMemoryError: Array capacity exceeded #14202

Open pshipton opened 2 years ago

pshipton commented 2 years ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_extended.system_s390x_linux_Nightly_testList_1/182 - rh7-390-2 HCRLateAttachWorkload_0 -XX:+UseCompressedOops

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk8_j9_extended.system_s390x_linux_Nightly_testList_1/182/system_test_output.tar.gz

LT  testStarted : testGlobalTreeMap(net.adoptopenjdk.test.util.treemap.TreeMapTest)
LT  testFailure: testGlobalTreeMap(net.adoptopenjdk.test.util.treemap.TreeMapTest): Array capacity exceeded
LT  java.lang.OutOfMemoryError: Array capacity exceeded
LT      at java.lang.StringBuilder.append(StringBuilder.java:559)
LT      at net.adoptopenjdk.test.util.treemap.TreeMapTest.checkOrdered(TreeMapTest.java:137)
LT      at net.adoptopenjdk.test.util.treemap.TreeMapTest.testGlobalTreeMap(TreeMapTest.java:70)
pshipton commented 2 years ago

@dmitripivkine fyi

pshipton commented 2 years ago

This seems familiar but I don't find any issue which duplicates this.

pshipton commented 2 years ago

Seems it has nothing to do with GC.

dmitripivkine commented 2 years ago

Also there is this error:

cat ./aqa-tests/TKG/output_16403159565749/HCRLateAttachWorkload_0/20211223-230035-HCRLateAttachWorkload/results/2.AG.stderr
Exception in thread "main" java.net.SocketException: Broken pipe (Write failed)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:134)
    at openj9.internal.tools.attach.target.AttachmentConnection.streamSend(AttachmentConnection.java:105)
    at com.ibm.tools.attach.attacher.OpenJ9VirtualMachine.detach(OpenJ9VirtualMachine.java:200)
    at net.adoptopenjdk.test.hcrAgent.agent.Attacher.main(Attacher.java:85)