--- old/src/hotspot/share/memory/arena.hpp 2020-05-01 02:26:06.692249019 -0700 +++ new/src/hotspot/share/memory/arena.hpp 2020-05-01 02:26:06.288241248 -0700 @@ -174,11 +174,6 @@ void* Amalloc_D(size_t x, AllocFailType alloc_failmode = AllocFailStrategy::EXIT_OOM) { assert( (x&(sizeof(char*)-1)) == 0, "misaligned size" ); debug_only(if (UseMallocOnly) return malloc(x);) -#if defined(SPARC) && !defined(_LP64) -#define DALIGN_M1 7 - size_t delta = (((size_t)_hwm + DALIGN_M1) & ~DALIGN_M1) - (size_t)_hwm; - x += delta; -#endif if (!check_for_overflow(x, "Arena::Amalloc_D", alloc_failmode)) return NULL; if (_hwm + x > _max) { @@ -186,9 +181,6 @@ } else { char *old = _hwm; _hwm += x; -#if defined(SPARC) && !defined(_LP64) - old += delta; // align to 8-bytes -#endif return old; } }