Thursday, July 28, 2011

VM warning: GC locker is held; pre-dump GC was skipped

If you ever run into this message while using the Sun JVM / OpenJDK:
Java HotSpot(TM) 64-Bit Server VM warning: GC locker is held; pre-dump GC was skipped
then I wouldn't worry too much about it as it seems like it's printed when running a jmap -histo:live while the GC is already running or holding a certain lock in the jVM.