RFR: 8360707: Globally enumerate all blobs, stubs and entries

Andrew Dinn adinn at openjdk.org
Mon Jun 30 10:27:41 UTC 2025


On Mon, 30 Jun 2025 06:14:32 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:

>> Use the blob, stub and entry declarations to generate a single global enumeration for all blobs, likewise for all stubs and all entries. Modify stub generators in shared runtime, c1 runtime, c2 runtime and stub generator subsystems and their clients to use those enumerations consistently.
>
> @adinn I got one test failure on s390: `test/hotspot/jtreg/runtime/ErrorHandling/MachCodeFramesInErrorFile.java`
> 
> 
> java.lang.RuntimeException: 1 < 2
> 	at jdk.test.lib.Asserts.fail(Asserts.java:715)
> 	at MachCodeFramesInErrorFile.run(MachCodeFramesInErrorFile.java:170)
> 	at MachCodeFramesInErrorFile.main(MachCodeFramesInErrorFile.java:108)
> 	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)
> 
> 
> I didn't hs_err even in full verbose. But attaching overall run in txt file: 
> [26004_test_failure.txt](https://github.com/user-attachments/files/20973513/26004_test_failure.txt)

@offamitkumar Thanks for testing. I'm looking into the issue and will get back to you.

@TheRealMDoerr @offamitkumar @RealFYang Would you be able to check this on ppc/riscv to ensure it builds (cross-compile is ok) and passes (at least) tier1?

Thanks for whatever help you can provide.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26004#issuecomment-3018615494


More information about the shenandoah-dev mailing list