Question regarding JVM crashes in GC

Andrew Haley aph at
Tue Apr 11 08:00:46 UTC 2017

On 10/04/17 20:15, Michael Rasmussen wrote:
> I'm aware that the order is a bit fragile, and the approach we've been
> using up till now hasn't changed that order (we've only caused extra
> classes to be loaded, basically a class and an interface loaded very
> early, and then the rest later as needed) -- unfortunately that
> approach doesn't work with JDK9 and the restrictions added by the
> module system, where what we can load before the module system is up
> and running has been severely limited.

Right, but if you initialize the classes in the correct order then
your program won't be fragile at all.  You've then got a solid and
repeatable solution.


More information about the hotspot-dev mailing list