RFR (M): 8217778: StringTable cleanup miscalculates amount of dead objects

Thomas Schatzl thomas.schatzl at oracle.com
Tue Jan 29 09:51:31 UTC 2019


On Mon, 2019-01-28 at 16:46 -0500, coleen.phillimore at oracle.com wrote:
> Hi Thomas,  Can you forward the review thread for JDK-8213229?

  the thread starts at 
 , but the interesting part is probably starting here 

> I wonder if we could just trigger_unloading after any GC has run and 
> ignore dead string counts.  Are they ever zero?

That seems to be a waste of cpu cycles assuming that interned strings
typically have a "long" lifetime.


More information about the hotspot-gc-dev mailing list