mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8077417: Cleanup of Universe::initialize_heap()
Reviewed-by: stefank, kbarrett
This commit is contained in:
parent
817138c4f9
commit
4fbfdfe87b
4 changed files with 34 additions and 40 deletions
|
@ -74,7 +74,8 @@ class ParallelScavengeHeap : public CollectedHeap {
|
|||
HeapWord* mem_allocate_old_gen(size_t size);
|
||||
|
||||
public:
|
||||
ParallelScavengeHeap() : CollectedHeap(), _death_march_count(0) { }
|
||||
ParallelScavengeHeap(GenerationSizer* policy) :
|
||||
CollectedHeap(), _collector_policy(policy), _death_march_count(0) { }
|
||||
|
||||
// For use by VM operations
|
||||
enum CollectionType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue