hotspot/src/cpu/x86/vm/c1_FrameMap_x86.hpp
changeset 13969 d2a189b83b87
parent 13742 9180987e305d
child 13974 791cba24758f
--- a/hotspot/src/cpu/x86/vm/c1_FrameMap_x86.hpp	Mon Oct 08 17:04:00 2012 -0700
+++ b/hotspot/src/cpu/x86/vm/c1_FrameMap_x86.hpp	Tue Oct 09 10:11:38 2012 +0200
@@ -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;
   }