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

Aleksey Shipilev shade at openjdk.org
Tue Jun 10 08:32:28 UTC 2025


On Tue, 10 Jun 2025 04:46:43 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:

> Makes sure that JVM exits gracefully when `CodeCacheSegmentSize` is not a power of 2.

There is already `CodeCacheSegmentSizeConstraintFunc` that verifies the flag values. Move the check there?

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

Changes requested by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25708#pullrequestreview-2912518138


More information about the hotspot-compiler-dev mailing list