RFR: JDK-8304954: SegmentedCodeCache fails when using large pages [v4]
Damon Fenacci
dfenacci at openjdk.org
Tue Jul 25 12:36:12 UTC 2023
On Mon, 24 Jul 2023 14:20:52 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>>> 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.
I've limited the test to linux and for the moment I left ZGC out.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14903#discussion_r1273458673
More information about the hotspot-compiler-dev
mailing list