diff options
author | brutisso <none@none> | 2011-04-29 09:11:03 +0200 |
---|---|---|
committer | brutisso <none@none> | 2011-04-29 09:11:03 +0200 |
commit | bdca53479cc458c9186306b4ba8841d15d7d79c3 (patch) | |
tree | 5869854eb35d227d74f55d72f48dfff599ec0252 /src/share/vm/memory/collectorPolicy.cpp | |
parent | 8f04ef87a5f1d201cfa79704e1f4fe17ca9e9511 (diff) |
7040068: CMS: Possibly unsafe initialization of BlockOffsetArrayUseUnallocatedBlock
Summary: BlockOffsetArrayUseUnallocatedBlock was intended to be turned off as part of BUG 6948538 but a code line in collectorPolicy.cpp actually kept it turned on.
Reviewed-by: jwilhelm, ysr
Diffstat (limited to 'src/share/vm/memory/collectorPolicy.cpp')
-rw-r--r-- | src/share/vm/memory/collectorPolicy.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/share/vm/memory/collectorPolicy.cpp b/src/share/vm/memory/collectorPolicy.cpp index 61efdd80f..7ad2bebaf 100644 --- a/src/share/vm/memory/collectorPolicy.cpp +++ b/src/share/vm/memory/collectorPolicy.cpp @@ -265,8 +265,6 @@ void TwoGenerationCollectorPolicy::initialize_flags() { MaxHeapSize = align_size_up(MaxHeapSize, max_alignment()); always_do_update_barrier = UseConcMarkSweepGC; - BlockOffsetArrayUseUnallocatedBlock = - BlockOffsetArrayUseUnallocatedBlock || ParallelGCThreads > 0; // Check validity of heap flags assert(OldSize % min_alignment() == 0, "old space alignment"); |