8170468: Convert ParallelCompact_test to GTest

Reviewed-by: dfazunen, iignatyev
This commit is contained in:
Kirill Zhaldybin 2016-12-03 12:48:22 +03:00
parent 8d6d1e4cda
commit 8bf0437430
4 changed files with 77 additions and 23 deletions

View file

@ -965,6 +965,7 @@ class PSParallelCompact : AllStatic {
friend class AdjustPointerClosure;
friend class AdjustKlassClosure;
friend class RefProcTaskProxy;
friend class PSParallelCompactTest;
private:
static STWGCTimer _gc_timer;
@ -1101,6 +1102,13 @@ class PSParallelCompact : AllStatic {
// Reset time since last full gc
static void reset_millis_since_last_gc();
#ifndef PRODUCT
// Print generic summary data
static void print_generic_summary_data(ParallelCompactData& summary_data,
HeapWord* const beg_addr,
HeapWord* const end_addr);
#endif // #ifndef PRODUCT
public:
PSParallelCompact();