Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8076985: Allocation path: biased locking + compressed oops code quality
Use 64-bit constant class pointer for loading class prototype header.

Reviewed-by: roland
  • Loading branch information
Vladimir Kozlov committed Jul 2, 2020
1 parent 579ed70 commit ec25b42804fcb6683b6689422208a6293c6e6414
Showing 1 changed file with 1 addition and 4 deletions.
@@ -1645,10 +1645,7 @@ bool Matcher::const_oop_prefer_decode() {
}

bool Matcher::const_klass_prefer_decode() {
// TODO: Either support matching DecodeNKlass (heap-based) in operand
// or condisider the following:
// Prefer ConNKlass+DecodeNKlass over ConP in simple compressed klass mode.
//return CompressedKlassPointers::base() == NULL;
// Prefer ConP over ConNKlass+DecodeNKlass.
return true;
}

0 comments on commit ec25b42

Please sign in to comment.