1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp Wed Apr 27 01:25:04 2016 +0800 1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp Fri Apr 29 00:06:10 2016 +0800 1.3 @@ -22,6 +22,12 @@ 1.4 * 1.5 */ 1.6 1.7 +/* 1.8 + * This file has been modified by Loongson Technology in 2015. These 1.9 + * modifications are Copyright (c) 2015 Loongson Technology, and are made 1.10 + * available on the same license terms set forth above. 1.11 + */ 1.12 + 1.13 #include "precompiled.hpp" 1.14 #include "classfile/symbolTable.hpp" 1.15 #include "classfile/systemDictionary.hpp" 1.16 @@ -2099,7 +2105,11 @@ 1.17 // Let the size policy know we're done 1.18 size_policy->major_collection_end(old_gen->used_in_bytes(), gc_cause); 1.19 1.20 - if (UseAdaptiveSizePolicy) { 1.21 + /* 2014/2/12/ Liao: In UseOldNUMA, the size of old-gen should not be changed as the young-gen, 1.22 + * when minorGC happens, the eden size will be emptied, so we can change the size of the eden 1.23 + * size and then bind to each NUMA group, but in fullGC, the old-gen should not be emptied, so 1.24 + * we let the old-gen should not be changed here. */ 1.25 + if (UseAdaptiveSizePolicy && !UseOldNUMA) { 1.26 if (PrintAdaptiveSizePolicy) { 1.27 gclog_or_tty->print("AdaptiveSizeStart: "); 1.28 gclog_or_tty->stamp();