Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.hpp @ 13060:8f07aa079343
8016309: assert(eden_size > 0 && survivor_size > 0) failed: just checking
7057939: jmap shows MaxNewSize=4GB when Java is using parallel collector
Summary: Major cleanup of the collectorpolicy classes
Reviewed-by: tschatzl, jcoomes
author | jwilhelm |
---|---|
date | Fri, 01 Nov 2013 17:09:38 +0100 |
parents | f95d63e2154a |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
13059:46d7652b223c | 13060:8f07aa079343 |
---|---|
27 | 27 |
28 #include "memory/collectorPolicy.hpp" | 28 #include "memory/collectorPolicy.hpp" |
29 | 29 |
30 class ConcurrentMarkSweepPolicy : public TwoGenerationCollectorPolicy { | 30 class ConcurrentMarkSweepPolicy : public TwoGenerationCollectorPolicy { |
31 protected: | 31 protected: |
32 void initialize_alignments(); | |
32 void initialize_generations(); | 33 void initialize_generations(); |
33 | 34 |
34 public: | 35 public: |
35 ConcurrentMarkSweepPolicy(); | 36 ConcurrentMarkSweepPolicy() {} |
36 | 37 |
37 ConcurrentMarkSweepPolicy* as_concurrent_mark_sweep_policy() { return this; } | 38 ConcurrentMarkSweepPolicy* as_concurrent_mark_sweep_policy() { return this; } |
38 | 39 |
39 void initialize_gc_policy_counters(); | 40 void initialize_gc_policy_counters(); |
40 | 41 |