Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.cpp @ 13086:096c224171c4
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 20 Nov 2013 00:10:38 +0100 |
parents | 8f07aa079343 |
children | 833b0f92429a |
comparison
equal
deleted
inserted
replaced
12782:92b7ec34ddfa | 13086:096c224171c4 |
---|---|
45 | 45 |
46 // | 46 // |
47 // ConcurrentMarkSweepPolicy methods | 47 // ConcurrentMarkSweepPolicy methods |
48 // | 48 // |
49 | 49 |
50 ConcurrentMarkSweepPolicy::ConcurrentMarkSweepPolicy() { | 50 void ConcurrentMarkSweepPolicy::initialize_alignments() { |
51 initialize_all(); | 51 _space_alignment = _gen_alignment = (uintx)Generation::GenGrain; |
52 _heap_alignment = compute_heap_alignment(); | |
52 } | 53 } |
53 | 54 |
54 void ConcurrentMarkSweepPolicy::initialize_generations() { | 55 void ConcurrentMarkSweepPolicy::initialize_generations() { |
55 _generations = NEW_C_HEAP_ARRAY3(GenerationSpecPtr, number_of_generations(), mtGC, 0, AllocFailStrategy::RETURN_NULL); | 56 _generations = NEW_C_HEAP_ARRAY3(GenerationSpecPtr, number_of_generations(), mtGC, 0, AllocFailStrategy::RETURN_NULL); |
56 if (_generations == NULL) | 57 if (_generations == NULL) |