hotspot/src/cpu/x86/vm/c1_FrameMap_x86.hpp
changeset 13974 791cba24758f
parent 13963 e5b53c306fb5
parent 13969 d2a189b83b87
child 19979 ebe1dbb6e1aa
--- a/hotspot/src/cpu/x86/vm/c1_FrameMap_x86.hpp	Tue Oct 09 10:09:34 2012 -0700
+++ b/hotspot/src/cpu/x86/vm/c1_FrameMap_x86.hpp	Fri Oct 12 09:22:52 2012 -0700
@@ -148,7 +148,7 @@
 
   static int adjust_reg_range(int range) {
     // Reduce the number of available regs (to free r12) in case of compressed oops
-    if (UseCompressedOops) return range - 1;
+    if (UseCompressedOops || UseCompressedKlassPointers) return range - 1;
     return range;
   }