mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
Added new product ObjectAlignmentInBytes flag to control object alignment. Reviewed-by: twisti, ysr, iveresov
This commit is contained in:
parent
05b4f2e796
commit
cc18a50e59
29 changed files with 222 additions and 136 deletions
|
@ -1328,14 +1328,6 @@ static inline uint64_t cast_uint64_t(size_t x)
|
|||
declare_constant(LogBytesPerWord) \
|
||||
declare_constant(BytesPerLong) \
|
||||
\
|
||||
/********************/ \
|
||||
/* Object alignment */ \
|
||||
/********************/ \
|
||||
\
|
||||
declare_constant(MinObjAlignment) \
|
||||
declare_constant(MinObjAlignmentInBytes) \
|
||||
declare_constant(LogMinObjAlignmentInBytes) \
|
||||
\
|
||||
/********************************************/ \
|
||||
/* Generation and Space Hierarchy Constants */ \
|
||||
/********************************************/ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue