changeset 7457:14cbd68c1a64

Include inline header files where appropriate.
author Roman Kennke <rkennke@redhat.com>
date Fri, 23 Jan 2015 09:44:58 +0100
parents ca617ad7ee11
children c78286720205
files src/share/vm/gc_implementation/shenandoah/shenandoahHeap.cpp src/share/vm/gc_implementation/shenandoah/shenandoahHeap.hpp src/share/vm/gc_implementation/shenandoah/shenandoahHeapRegion.cpp src/share/vm/gc_implementation/shenandoah/shenandoahHeapRegion.hpp
diffstat 4 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/shenandoah/shenandoahHeap.cpp	Thu Jan 22 15:18:31 2015 +0100
+++ b/src/share/vm/gc_implementation/shenandoah/shenandoahHeap.cpp	Fri Jan 23 09:44:58 2015 +0100
@@ -4,6 +4,7 @@
 #include "precompiled.hpp"
 #include "asm/macroAssembler.hpp"
 
+#include "gc_interface/collectedHeap.inline.hpp"
 #include "gc_implementation/shared/cmBitMap.inline.hpp"
 
 #include "gc_implementation/shared/gcHeapSummary.hpp"
@@ -21,6 +22,8 @@
 #include "memory/iterator.hpp"
 #include "memory/oopFactory.hpp"
 #include "memory/referenceProcessor.hpp"
+#include "memory/space.inline.hpp"
+#include "memory/threadLocalAllocBuffer.inline.hpp"
 #include "memory/universe.hpp"
 #include "utilities/copy.hpp"
 #include "gc_implementation/shared/vmGCOperations.hpp"
--- a/src/share/vm/gc_implementation/shenandoah/shenandoahHeap.hpp	Thu Jan 22 15:18:31 2015 +0100
+++ b/src/share/vm/gc_implementation/shenandoah/shenandoahHeap.hpp	Fri Jan 23 09:44:58 2015 +0100
@@ -15,7 +15,7 @@
 
 #include "memory/barrierSet.hpp"
 #include "memory/sharedHeap.hpp"
-#include "memory/space.inline.hpp"
+#include "memory/space.hpp"
 #include "oops/oop.hpp"
 #include "oops/markOop.hpp"
 
--- a/src/share/vm/gc_implementation/shenandoah/shenandoahHeapRegion.cpp	Thu Jan 22 15:18:31 2015 +0100
+++ b/src/share/vm/gc_implementation/shenandoah/shenandoahHeapRegion.cpp	Fri Jan 23 09:44:58 2015 +0100
@@ -1,14 +1,16 @@
 /*
 Copyright 2014 Red Hat, Inc. and/or its affiliates.
  */
+
 #include "gc_implementation/shenandoah/brooksPointer.hpp"
 #include "gc_implementation/shenandoah/shenandoahHeapRegion.hpp"
 #include "gc_implementation/shenandoah/shenandoahHeap.hpp"
+#include "memory/space.inline.hpp"
 #include "memory/universe.hpp"
 #include "runtime/mutexLocker.hpp"
 #include "runtime/os.hpp"
 
-size_t ShenandoahHeapRegion::RegionSizeShift = 23;
+size_t ShenandoahHeapRegion::RegionSizeShift = 27;
 size_t ShenandoahHeapRegion::RegionSizeBytes = 1 << ShenandoahHeapRegion::RegionSizeShift; // 1024 * 1024 * 8;
 
 jint ShenandoahHeapRegion::initialize(HeapWord* start, 
--- a/src/share/vm/gc_implementation/shenandoah/shenandoahHeapRegion.hpp	Thu Jan 22 15:18:31 2015 +0100
+++ b/src/share/vm/gc_implementation/shenandoah/shenandoahHeapRegion.hpp	Fri Jan 23 09:44:58 2015 +0100
@@ -4,7 +4,7 @@
 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHENANDOAH_SHENANDOAHHEAPREGION_HPP
 #define SHARE_VM_GC_IMPLEMENTATION_SHENANDOAH_SHENANDOAHHEAPREGION_HPP
 
-#include "memory/space.inline.hpp"
+#include "memory/space.hpp"
 #include "memory/universe.hpp"
 #include "utilities/sizes.hpp"