Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
10332:5ed122fbd0ef | 10333:6702da6b6082 |
---|---|
336 void do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task); | 336 void do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task); |
337 static void finish_cleanup_task(HRRSCleanupTask* hrrs_cleanup_task); | 337 static void finish_cleanup_task(HRRSCleanupTask* hrrs_cleanup_task); |
338 | 338 |
339 // Run unit tests. | 339 // Run unit tests. |
340 #ifndef PRODUCT | 340 #ifndef PRODUCT |
341 static void test_prt(); | |
341 static void test(); | 342 static void test(); |
342 #endif | 343 #endif |
343 }; | 344 }; |
344 | 345 |
345 class HeapRegionRemSetIterator : public StackObj { | 346 class HeapRegionRemSetIterator : public StackObj { |