changeset 48587:1d47114d695c

ZGC: Remove alignment on root iterator helpers
author pliden
date Fri, 19 Jan 2018 15:06:08 +0100
parents 7972895fb97f
children 944f83f2f037
files src/hotspot/share/gc/z/zRootsIterator.hpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/z/zRootsIterator.hpp	Fri Jan 19 15:06:06 2018 +0100
+++ b/src/hotspot/share/gc/z/zRootsIterator.hpp	Fri Jan 19 15:06:08 2018 +0100
@@ -37,7 +37,7 @@
 public:
   ZSerialOopsDo(T* iter);
   void oops_do(OopClosure* cl);
-} ATTRIBUTE_ALIGNED(DEFAULT_CACHE_LINE_SIZE);
+};
 
 template <typename T, void (T::*F)(OopClosure*)>
 class ZParallelOopsDo VALUE_OBJ_CLASS_SPEC {
@@ -48,7 +48,7 @@
 public:
   ZParallelOopsDo(T* iter);
   void oops_do(OopClosure* cl);
-} ATTRIBUTE_ALIGNED(DEFAULT_CACHE_LINE_SIZE);
+};
 
 template <typename T, void (T::*F)(BoolObjectClosure*, OopClosure*)>
 class ZSerialUnlinkOrOopsDo VALUE_OBJ_CLASS_SPEC {
@@ -59,7 +59,7 @@
 public:
   ZSerialUnlinkOrOopsDo(T* iter);
   void unlink_or_oops_do(BoolObjectClosure* is_alive, OopClosure* cl);
-} ATTRIBUTE_ALIGNED(DEFAULT_CACHE_LINE_SIZE);
+};
 
 template <typename T, void (T::*F)(BoolObjectClosure*, OopClosure*)>
 class ZParallelUnlinkOrOopsDo VALUE_OBJ_CLASS_SPEC {
@@ -70,7 +70,7 @@
 public:
   ZParallelUnlinkOrOopsDo(T* iter);
   void unlink_or_oops_do(BoolObjectClosure* is_alive, OopClosure* cl);
-} ATTRIBUTE_ALIGNED(DEFAULT_CACHE_LINE_SIZE);
+};
 
 class ZRootsIterator VALUE_OBJ_CLASS_SPEC {
 private: