Tiered compilation leads to "unloaded signature class" inlining failures in JRuby

Charles Oliver Nutter headius at headius.com
Thu Sep 3 19:48:10 UTC 2020


On Thu, Sep 3, 2020 at 2:42 PM Remi Forax <forax at univ-mlv.fr> wrote:
> I will say something that doesn't help you,
> i tries to not use one classloader per method and instead use a combination of ahead of time compilation + lookup.defineClass + defineAnonymousClass.
> I can do that because my base version is Java 11 not Java 8.
> I plan to use Hidden classes soon, i've already a prototype but i still need to study where to use weak or strong hidden classes.

I'm willing to do any or all of those things! defineAnonymousClass is
still not a publicly-accessible API, though, which is why I have not
used it up to now.

We don't have any plans to baseline on 11 yet, but could possibly be convinced.

I think you understand my use case pretty well... maybe you can point
me at an example of what you think would be the "best" way, assuming
we moved our baseline to 11?

- Charlie


More information about the hotspot-compiler-dev mailing list