RFR: JDK-8304954: SegmentedCodeCache fails when using large pages [v4]
Thomas Stuefe
stuefe at openjdk.org
Mon Jul 24 14:23:43 UTC 2023
On Mon, 24 Jul 2023 14:15:38 GMT, Damon Fenacci <dfenacci at openjdk.org> wrote:
>> I'd limit this to linux only. No need to run on OSes that don't support large pages.
>>
>> (If we want to be really correct, windows too, but I'm not so sure how stable and well-tested large page support there is)
>
>> Why not Z?
>
> It seems that ZGC requires large pages of specific given size (2MB. The test fails with *Incompatible -XX:LargePageSizeInBytes, only 2M large pages are supported by ZGC* otherwise).
Oh right. But this issue is not strictly speaking limited to 1G. It could happen on 2M, too, if you were to allocate a code cache size < 8*2, e.g. 15M. If one gets the JVM to run with that little code cache.
Up to you, though. I'm fine with leaving Zgc out too.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14903#discussion_r1272335437
More information about the hotspot-compiler-dev
mailing list