diff src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp @ 10333:6702da6b6082

8014405: G1: PerRegionTable::fl_mem_size() calculates size of the free list using wrong element sizes Summary: Instead of using a simple sizeof(), ask the PerRegionTable class about its size when iterating over the free list. Reviewed-by: jwilhelm, brutisso
author tschatzl
date Tue, 21 May 2013 11:30:14 +0200
parents 5c93c1f61226
children 5888334c9c24
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp	Tue May 21 10:39:09 2013 +0200
+++ b/src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp	Tue May 21 11:30:14 2013 +0200
@@ -338,6 +338,7 @@
 
   // Run unit tests.
 #ifndef PRODUCT
+  static void test_prt();
   static void test();
 #endif
 };