equal
deleted
inserted
replaced
341 static CollectedHeap* heap() { return _collectedHeap; } |
341 static CollectedHeap* heap() { return _collectedHeap; } |
342 |
342 |
343 // For UseCompressedOops |
343 // For UseCompressedOops |
344 static address* narrow_oop_base_addr() { return &_narrow_oop._base; } |
344 static address* narrow_oop_base_addr() { return &_narrow_oop._base; } |
345 static address narrow_oop_base() { return _narrow_oop._base; } |
345 static address narrow_oop_base() { return _narrow_oop._base; } |
|
346 static bool is_narrow_oop_base(void* addr) { return (narrow_oop_base() == (address)addr); } |
346 static int narrow_oop_shift() { return _narrow_oop._shift; } |
347 static int narrow_oop_shift() { return _narrow_oop._shift; } |
347 static void set_narrow_oop_base(address base) { _narrow_oop._base = base; } |
348 static void set_narrow_oop_base(address base) { _narrow_oop._base = base; } |
348 static void set_narrow_oop_shift(int shift) { _narrow_oop._shift = shift; } |
349 static void set_narrow_oop_shift(int shift) { _narrow_oop._shift = shift; } |
349 static bool narrow_oop_use_implicit_null_checks() { return _narrow_oop._use_implicit_null_checks; } |
350 static bool narrow_oop_use_implicit_null_checks() { return _narrow_oop._use_implicit_null_checks; } |
350 static void set_narrow_oop_use_implicit_null_checks(bool use) { _narrow_oop._use_implicit_null_checks = use; } |
351 static void set_narrow_oop_use_implicit_null_checks(bool use) { _narrow_oop._use_implicit_null_checks = use; } |