RFR: 8357826: Avoid running some jtreg tests when asan is configured [v2]
Ioi Lam
iklam at openjdk.org
Wed Jun 4 17:51:55 UTC 2025
On Wed, 4 Jun 2025 12:13:45 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> The test AOTCodeCompressedOopsTest.java has the memory error mentioned above fixed now with recent changes , but shows another issue
>
> ```
> runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java
> ---------------------------------------------------------------
> java.lang.RuntimeException: Pattern "narrow_oop_base = 0x(\\d+), narrow_oop_shift = (\\d)" not found in the output
> at AOTCodeCompressedOopsTest$Tester.checkExecution(AOTCodeCompressedOopsTest.java:184)
> at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:221)
> at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:427)
> at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:392)
> at AOTCodeCompressedOopsTest.main(AOTCodeCompressedOopsTest.java:58)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
> at java.base/java.lang.reflect.Method.invoke(Method.java:565)
> at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
> at java.base/java.lang.Thread.run(Thread.java:1474)
> ```
>
> Maybe we should ask an AOT expert about this, not sure what that means.
Please file a bug against this test and we will look into it. I haven't used asan before. Is it as simple as adding `--enable-asan` when running `configure`?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25575#issuecomment-2940883167
More information about the hotspot-dev
mailing list