< prev index next >

src/hotspot/cpu/x86/sharedRuntime_x86.cpp

Print this page
*** 56,10 ***
--- 56,15 ---
      __ xorptr(result, result);
      __ ret(0);
      __ bind(Continue);
    }
  
+   if (UseCompactObjectHeaders) {
+     // Don't generate anything else and always take the slow-path for now.
+     return;
+   }
+ 
    __ movptr(result, Address(obj_reg, oopDesc::mark_offset_in_bytes()));
  
  
    if (LockingMode == LM_LIGHTWEIGHT) {
      if (!UseObjectMonitorTable) {
< prev index next >