enter exclusive state in destroyJavaVM
enter exclusive state in destroyJavaVM

This is necessary to ensure that new threads do not start while we're
shutting down (except for the ones that we start to run the shutdown
hooks), and that the shutdown hook threads can be safely started (it
is not safe to start threads from e.g. an idle state, and an assertion
will fail if we do).

lostdj/avian,dicej/avian,lostdj/avian,MaartenR/avian,bigfatbrowncat/avian-pack.avian,marcinolawski/avian,joshuawarner32/avian,minor-jason/avian,getlantern/avian,MaartenR/avian,bgould/avian,lwahlmeier/avian,ucdseniordesign/avian,marcinolawski/avian,bigfatbrowncat/avian-pack.avian,bigfatbrowncat/avian-pack.avian,lwahlmeier/avian,getlantern/avian,lostdj/avian,lwahlmeier/avian,marcinolawski/avian,getlantern/avian,minor-jason/avian,lostdj/avian,bgould/avian,minor-jason/avian,ucdseniordesign/avian,joshuawarner32/avian,MaartenR/avian,bgould/avian,marcinolawski/avian,dicej/avian,dicej/avian,joshuawarner32/avian,bigfatbrowncat/avian-pack.avian,MaartenR/avian,joshuawarner32/avian,bgould/avian,dicej/avian,lwahlmeier/avian,ucdseniordesign/avian,ucdseniordesign/avian,getlantern/avian,minor-jason/avian