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

Charles Oliver Nutter headius at headius.com
Wed Sep 2 21:55:22 UTC 2020


On Wed, Sep 2, 2020 at 3:10 AM Vladimir Ivanov
<vladimir.x.ivanov at oracle.com> wrote:
> Only bootstrap class loader is allowed to define classes under
> java.lang. (And it was the case long before modules were introduced.)
> There's simply no way for successully load java.lang.String class unless
> the request is delegated to bootstrap class loader.

I realized that after I sent, and also realized I was not running the
example correctly. Sorry for the misdirection... I still have no fix
and no workaround.

I have also tried forcing String and other classes referenced in the
generated code to load into each OneShotClassLoader, but the problem
remains.

Disabling tiered compilation again fixes it, but I suspect that's just
a lucky side effect for this case.

So I am still without any leads on fixes or workarounds.

- Charlie


More information about the hotspot-compiler-dev mailing list