mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -149,10 +149,6 @@ class oopDesc {
|
|||
// Need this as public for garbage collection.
|
||||
template <class T> T* obj_field_addr(int offset) const;
|
||||
|
||||
// Oop encoding heap max
|
||||
static const uint64_t OopEncodingHeapMax =
|
||||
(uint64_t(max_juint) + 1) << LogMinObjAlignmentInBytes;
|
||||
|
||||
static bool is_null(oop obj);
|
||||
static bool is_null(narrowOop obj);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue