diff src/hotspot/share/gc/shared/memAllocator.hpp @ 51945:c573d2633417

8211269: Make declaration of Allocation protected in MemAllocator Reviewed-by: shade
author rkennke
date Fri, 28 Sep 2018 10:57:31 +0200
parents 80abf702eed8
children 9807daeb47c4
line wrap: on
line diff
--- 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;