Skip to content

VmArgumentTests_0 FAILED: testMemoryLeaks #22931

Description

@JasonFengJ9

Failure link

From an internal build(macaarch64rt15):

09:46:45  openjdk version "26-internal" 2026-03-17
09:46:45  OpenJDK Runtime Environment (build 26-internal-adhoc.jenkins.BuildJDKnextaarch64macPersonal)
09:46:45  Eclipse OpenJ9 VM (build 26-internal-adhoc.jenkins.BuildJDKnextaarch64macPersonal-master-c4dc654b2d6, JRE 26 Mac OS X aarch64-64-Bit 20251112_242 (JIT enabled, AOT enabled)
09:46:45  OpenJ9   - c4dc654b2d6
09:46:45  OMR      - 5f5ec235dab
09:46:45  JCL      - f6c729c051b based on jdk-26+23)

Rerun in Grinder - Change TARGET to run only the failed test targets.

Optional info

Failure output (captured from console output)

10:13:40  Running test VmArgumentTests_0 ...
10:13:40  ===============================================
10:13:40  VmArgumentTests_0 Start Time: Wed Nov 12 07:13:40 2025 Epoch Time (ms): 1762960420317
10:13:40  variation: NoOptions
10:13:40  JVM_OPTIONS:  

10:15:23  FAILED: testMemoryLeaks
10:15:23  java.lang.AssertionError: -Xcheck:memory failed: stderr = WARNING: 5057 unfreed blocks remaining at shutdown!
10:15:23  WARNING: 0 blocks were ignored per ignoredCallsite parameter
10:15:23  WARNING: only 32 most recent leaked blocks will be described
10:15:23  port_shutdown_library describing block at 00000001291DCE20 (header at 00000001291DCC20):
10:15:23  Wrapped block size is 24, allocation number is 8801
10:15:23  Block was allocated by /Users/jenkins/workspace/Build_JDKnext_aarch64_mac_Personal/openj9/runtime/vm/jnicsup.cpp:2167
10:15:23  First 24 bytes:
10:15:23  00000001291DCE20: 58 C7 2A 1A 01 00 00 00 00 00 00 00 00 00 00 00  X.*.............
10:15:23  00000001291DCE30: 00 00 00 00 00 00 00 00                          ........
10:15:23  port_shutdown_library describing block at 00000001291DD420 (header at 00000001291DD220):
10:15:23  Wrapped block size is 1072, allocation number is 8800
10:15:23  Block was allocated by /Users/jenkins/workspace/Build_JDKnext_aarch64_mac_Personal/openj9/runtime/vm/segment.c:334

10:15:23  Memory checker statistics:
10:15:23  Total blocks allocated = 8801 ( = most recent allocationNumber)
10:15:23  Total blocks freed = 3744
10:15:23  Total bytes allocated = 28655686
10:15:23  Total bytes freed = 2332171
10:15:23  Total unknown blocks ignored = 0
10:15:23  High water blocks allocated = 5311
10:15:23  High water bytes allocated = 26641166
10:15:23  Largest block ever allocated = size 2707512, allocation number 1209
10:15:23  Failed allocation attempts = 0
10:15:23  5057 allocated blocks totaling 26323515 bytes were not freed before shutdown!
10:15:23  
10:15:23  	at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
10:15:23  	at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
10:15:23  	at org.openj9.test.vmArguments.VmArgumentTests.testMemoryLeaks(VmArgumentTests.java:1280)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions