RFR: 8358694: VM asserts if CodeCacheSegmentSize is not a power of 2 [v2]

Damon Fenacci dfenacci at openjdk.org
Wed Jun 11 15:04:35 UTC 2025


On Tue, 10 Jun 2025 08:41:16 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:

>> Makes sure that JVM exits gracefully when `CodeCacheSegmentSize` is not a power of 2.
>
> Amit Kumar has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - fix
>  - move the changes in flag constraints specific file

I might be a bit picky (sorry for that) but since the flag was triggering a crash I was wondering if we could have a small regression test to make sure the VM never crashes (possibly checking the error as well).

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

PR Comment: https://git.openjdk.org/jdk/pull/25708#issuecomment-2963184963


More information about the hotspot-compiler-dev mailing list