8211269: Make declaration of Allocation protected in MemAllocator
authorrkennke
Fri, 28 Sep 2018 10:57:31 +0200
changeset 51945 c573d2633417
parent 51944 28085dba5d9a
child 51946 7bd8d6b011c9
8211269: Make declaration of Allocation protected in MemAllocator Reviewed-by: shade
src/hotspot/share/gc/shared/memAllocator.hpp
--- a/src/hotspot/share/gc/shared/memAllocator.hpp	Fri Sep 28 15:42:20 2018 +0800
+++ b/src/hotspot/share/gc/shared/memAllocator.hpp	Fri Sep 28 10:57:31 2018 +0200
@@ -34,9 +34,9 @@
 // These fascilities are used for allocating, and initializing newly allocated objects.
 
 class MemAllocator: StackObj {
+protected:
   class Allocation;
 
-protected:
   CollectedHeap* const _heap;
   Thread* const        _thread;
   Klass* const         _klass;