src/hotspot/cpu/ppc/macroAssembler_ppc.cpp
changeset 48637 7bba05746c44
parent 48608 1dab70e20292
parent 48626 9f6f48d4f9a1
child 49010 9010e596f391
equal deleted inserted replaced
48610:a587f95313f1 48637:7bba05746c44
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2012, 2017, SAP SE. All rights reserved.
     3  * Copyright (c) 2012, 2017, SAP SE. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
  2881     addi(/*monitor=*/temp, temp, -ObjectMonitor::owner_offset_in_bytes());
  2881     addi(/*monitor=*/temp, temp, -ObjectMonitor::owner_offset_in_bytes());
  2882     // Invariant 1: _recursions should be 0.
  2882     // Invariant 1: _recursions should be 0.
  2883     //assert(ObjectMonitor::recursions_size_in_bytes() == 8, "unexpected size");
  2883     //assert(ObjectMonitor::recursions_size_in_bytes() == 8, "unexpected size");
  2884     asm_assert_mem8_is_zero(ObjectMonitor::recursions_offset_in_bytes(), temp,
  2884     asm_assert_mem8_is_zero(ObjectMonitor::recursions_offset_in_bytes(), temp,
  2885                             "monitor->_recursions should be 0", -1);
  2885                             "monitor->_recursions should be 0", -1);
  2886     // Invariant 2: OwnerIsThread shouldn't be 0.
       
  2887     //assert(ObjectMonitor::OwnerIsThread_size_in_bytes() == 4, "unexpected size");
       
  2888     //asm_assert_mem4_isnot_zero(ObjectMonitor::OwnerIsThread_offset_in_bytes(), temp,
       
  2889     //                           "monitor->OwnerIsThread shouldn't be 0", -1);
       
  2890 #   endif
  2886 #   endif
  2891 
  2887 
  2892 #if INCLUDE_RTM_OPT
  2888 #if INCLUDE_RTM_OPT
  2893     } // use_rtm()
  2889     } // use_rtm()
  2894 #endif
  2890 #endif