changeset 60031:4d1c4400c75d

8076985: Allocation path: biased locking + compressed oops code quality Summary: Use 64-bit constant class pointer for loading class prototype header. Reviewed-by: roland
author kvn
date Thu, 02 Jul 2020 12:52:49 -0700
parents c9b250b081f5
children 3d4578dbba91
files src/hotspot/cpu/x86/x86_64.ad
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/cpu/x86/x86_64.ad	Thu Jul 02 11:06:16 2020 -0700
+++ b/src/hotspot/cpu/x86/x86_64.ad	Thu Jul 02 12:52:49 2020 -0700
@@ -1645,10 +1645,7 @@
 }
 
 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;
 }