JDK-6944195 : jmap -{histo,dump}:live, +PrintClassHistogram and friends should stall for GC locker to clear
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2010-04-15
  • Updated: 2020-04-08
  • Resolved: 2016-02-19
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
See CR 6897143. As it states, when a GC locker is held, a GC request
preceding a histogram or heap dump may be skipped. This can cause
user confusion who expects the objects in the histogram/dump to be
those very recently reachable and none that may have become unreachable
a long time ago. This bug is being filed so that that shortcoming may
be corrected.