mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
6954029: Improve implicit null check generation with compressed oops
Hoist DecodeN instruction above null check Reviewed-by: never, twisti
This commit is contained in:
parent
be95b163a6
commit
a3005a16fc
9 changed files with 119 additions and 21 deletions
|
@ -65,13 +65,6 @@ void VM_Version::initialize() {
|
|||
FLAG_SET_DEFAULT(UseInlineCaches, false);
|
||||
}
|
||||
#ifdef _LP64
|
||||
// Single issue niagara1 is slower for CompressedOops
|
||||
// but niagaras after that it's fine.
|
||||
if (!is_niagara1_plus()) {
|
||||
if (FLAG_IS_DEFAULT(UseCompressedOops)) {
|
||||
FLAG_SET_ERGO(bool, UseCompressedOops, false);
|
||||
}
|
||||
}
|
||||
// 32-bit oops don't make sense for the 64-bit VM on sparc
|
||||
// since the 32-bit VM has the same registers and smaller objects.
|
||||
Universe::set_narrow_oop_shift(LogMinObjAlignmentInBytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue