8033405: metaspace/stressHierarchy/stressHierarchy005 hangs in atexit handler <ake sure we shut down NMT before the VM exits and do not track malloc/free when NMT is shutting down Reviewed-by: coleenp, zgu