changeset 52774:c573d2633417

8211269: Make declaration of Allocation protected in MemAllocator Reviewed-by: shade
author rkennke
date Fri, 28 Sep 2018 10:57:31 +0200
parents 28085dba5d9a
children 7bd8d6b011c9
files src/hotspot/share/gc/shared/memAllocator.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;