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


Hi,

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 
http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2019-January/024474.html
 , but the interesting part is probably starting here 
http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2019-January/024649.html
 .

> 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.

Thanks,
  Thomas





More information about the hotspot-gc-dev mailing list