RFR: 8057037: Verification in ClassLoaderData::is_alive is too slow

Thomas Schatzl thomas.schatzl at oracle.com
Tue Sep 2 13:20:40 UTC 2014


Hi,

On Tue, 2014-09-02 at 15:03 +0200, Stefan Karlsson wrote:
> Hi all,
> 
> Please review this patch to remove some verification code that was added 
> during the G1 Class Unloading project. The code was added to make sure 
> we catch any class unloading bugs as early as possible. This 
> verification code is run too often and is causing large GC times in our 
> fastdebug test runs. In one of the tests I investigated, the Full GCs 
> take 8 seconds with this verification and 0.2 seconds without it. Most 
> of the verified pointers are already verified before and after GCs in 
> ClassLoaderDataGraph::verify().
> 
> http://cr.openjdk.java.net/~stefank/8057037/webrev.00/
> 

  looks good.

Thomas




More information about the hotspot-gc-dev mailing list