RFR (S): JDK-8152949: Jigsaw crash when Klass in _fixup_module_field_list is unloaded

Alan Bateman Alan.Bateman at oracle.com
Fri Apr 15 19:45:49 UTC 2016


On 15/04/2016 18:02, Lois Foltan wrote:
>
> Hi Stefan,
>
> In start up before module system initialization in complete I believe 
> the VM is single threaded, so the increment/decrement reference counts 
> do not need to be atomic.  Adding it is a defensive move in case the 
> reference count is ever used passed start up in the future.  It kind 
> of does seem a bit excessive, sounds like you agree?
There will be a number of threads running before the base module is 
defined to the VM. As things stand the the java threads at this point 
will be the Common-Cleaner, Finalizer, Reference Handler and Signal Handler.

-Alan


More information about the hotspot-dev mailing list