mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
8034246: remove CMS and ParNew adaptive size policy code
Reviewed-by: tschatzl, jwilhelm, mgerdin
This commit is contained in:
parent
aec070cb69
commit
900ca33ab0
21 changed files with 29 additions and 3651 deletions
|
@ -72,7 +72,7 @@
|
|||
#include "utilities/preserveException.hpp"
|
||||
#include "utilities/macros.hpp"
|
||||
#if INCLUDE_ALL_GCS
|
||||
#include "gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.hpp"
|
||||
#include "gc_implementation/shared/adaptiveSizePolicy.hpp"
|
||||
#include "gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.hpp"
|
||||
#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
|
||||
#include "gc_implementation/g1/g1CollectorPolicy.hpp"
|
||||
|
@ -802,13 +802,9 @@ jint Universe::initialize_heap() {
|
|||
gc_policy = new MarkSweepPolicy();
|
||||
} else if (UseConcMarkSweepGC) {
|
||||
#if INCLUDE_ALL_GCS
|
||||
if (UseAdaptiveSizePolicy) {
|
||||
gc_policy = new ASConcurrentMarkSweepPolicy();
|
||||
} else {
|
||||
gc_policy = new ConcurrentMarkSweepPolicy();
|
||||
}
|
||||
gc_policy = new ConcurrentMarkSweepPolicy();
|
||||
#else // INCLUDE_ALL_GCS
|
||||
fatal("UseConcMarkSweepGC not supported in this VM.");
|
||||
fatal("UseConcMarkSweepGC not supported in this VM.");
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
} else { // default old generation
|
||||
gc_policy = new MarkSweepPolicy();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue