RFR: 8295724: VirtualMachineError: Out of space in CodeCache for method handle intrinsic [v3]

Martin Doerr mdoerr at openjdk.org
Sat Nov 5 18:29:28 UTC 2022


On Fri, 4 Nov 2022 21:38:45 GMT, Dean Long <dlong at openjdk.org> wrote:

> > This is a further indication that the code is not needed. Should I file another RFE for that?
> 
> Please do, and link JDK-8294002 as related. I suspected that the duplicated metadata on aarch64 could be a problem, if we ended up with different values, however I wasn't able to reproduce a problem.
> 
> For this PR, would it make sense to use a MetadataClosure and metadata_do to check for metadata?

New Issue:
https://bugs.openjdk.org/browse/JDK-8296440
Regarding the aarch64 question: I don't think we ever hit the case in which the Method* gets cleared. So, both values never differ.

It is possible to reuse the existing code (oops_do and metadata_do). Please see my latest commit. Requires extra walks in debug build, but I think it's affordable.

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

PR: https://git.openjdk.org/jdk/pull/10933


More information about the hotspot-compiler-dev mailing list