8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "classfile/stringTable.hpp"
27 #include "code/codeCache.hpp"
28 #include "gc_implementation/parallelScavenge/cardTableExtension.hpp"
29 #include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
30 #include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
31 #include "gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp"
32 #include "gc_implementation/parallelScavenge/psMarkSweep.hpp"
33 #include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
34 #include "gc_implementation/parallelScavenge/psScavenge.inline.hpp"
35 #include "gc_implementation/parallelScavenge/psTasks.hpp"
36 #include "gc_implementation/shared/gcHeapSummary.hpp"
37 #include "gc_implementation/shared/gcTimer.hpp"
38 #include "gc_implementation/shared/gcTrace.hpp"
39 #include "gc_implementation/shared/gcTraceTime.hpp"
40 #include "gc_implementation/shared/isGCActiveMark.hpp"
41 #include "gc_implementation/shared/spaceDecorator.hpp"
42 #include "gc_interface/gcCause.hpp"
43 #include "memory/collectorPolicy.hpp"
44 #include "memory/gcLocker.inline.hpp"
45 #include "memory/referencePolicy.hpp"
46 #include "memory/referenceProcessor.hpp"
47 #include "memory/resourceArea.hpp"
48 #include "oops/oop.inline.hpp"
49 #include "runtime/biasedLocking.hpp"
50 #include "runtime/fprofiler.hpp"
51 #include "runtime/handles.inline.hpp"
52 #include "runtime/threadCritical.hpp"
53 #include "runtime/vmThread.hpp"
54 #include "runtime/vm_operations.hpp"
55 #include "services/memoryService.hpp"
56 #include "utilities/stack.inline.hpp"
57
58 HeapWord* PSScavenge::_to_space_top_before_gc = NULL;
59 int PSScavenge::_consecutive_skipped_scavenges = 0;
60 ReferenceProcessor* PSScavenge::_ref_processor = NULL;
61 CardTableExtension* PSScavenge::_card_table = NULL;
62 bool PSScavenge::_survivor_overflow = false;
63 uint PSScavenge::_tenuring_threshold = 0;
64 HeapWord* PSScavenge::_young_generation_boundary = NULL;
65 uintptr_t PSScavenge::_young_generation_boundary_compressed = 0;
66 elapsedTimer PSScavenge::_accumulated_time;
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "classfile/stringTable.hpp"
27 #include "code/codeCache.hpp"
28 #include "gc/parallel/cardTableExtension.hpp"
29 #include "gc/parallel/gcTaskManager.hpp"
30 #include "gc/parallel/parallelScavengeHeap.hpp"
31 #include "gc/parallel/psAdaptiveSizePolicy.hpp"
32 #include "gc/parallel/psMarkSweep.hpp"
33 #include "gc/parallel/psParallelCompact.hpp"
34 #include "gc/parallel/psScavenge.inline.hpp"
35 #include "gc/parallel/psTasks.hpp"
36 #include "gc/shared/collectorPolicy.hpp"
37 #include "gc/shared/gcCause.hpp"
38 #include "gc/shared/gcHeapSummary.hpp"
39 #include "gc/shared/gcLocker.inline.hpp"
40 #include "gc/shared/gcTimer.hpp"
41 #include "gc/shared/gcTrace.hpp"
42 #include "gc/shared/gcTraceTime.hpp"
43 #include "gc/shared/isGCActiveMark.hpp"
44 #include "gc/shared/referencePolicy.hpp"
45 #include "gc/shared/referenceProcessor.hpp"
46 #include "gc/shared/spaceDecorator.hpp"
47 #include "memory/resourceArea.hpp"
48 #include "oops/oop.inline.hpp"
49 #include "runtime/biasedLocking.hpp"
50 #include "runtime/fprofiler.hpp"
51 #include "runtime/handles.inline.hpp"
52 #include "runtime/threadCritical.hpp"
53 #include "runtime/vmThread.hpp"
54 #include "runtime/vm_operations.hpp"
55 #include "services/memoryService.hpp"
56 #include "utilities/stack.inline.hpp"
57
58 HeapWord* PSScavenge::_to_space_top_before_gc = NULL;
59 int PSScavenge::_consecutive_skipped_scavenges = 0;
60 ReferenceProcessor* PSScavenge::_ref_processor = NULL;
61 CardTableExtension* PSScavenge::_card_table = NULL;
62 bool PSScavenge::_survivor_overflow = false;
63 uint PSScavenge::_tenuring_threshold = 0;
64 HeapWord* PSScavenge::_young_generation_boundary = NULL;
65 uintptr_t PSScavenge::_young_generation_boundary_compressed = 0;
66 elapsedTimer PSScavenge::_accumulated_time;
|