< prev index next >

src/hotspot/cpu/sparc/macroAssembler_sparc.cpp

Print this page

        

*** 2605,2616 **** // Any non-zero value suffices. // Consider G2_thread, rsp, boxReg, or markWord::unused_mark() // - Successful Stack-lock: box->dhw == mark. // box->dhw must contain the displaced mark word value // - Failure -- icc.ZFlag == 0 and box->dhw is undefined. ! // The slow-path fast_enter() and slow_enter() operators ! // are responsible for setting box->dhw = NonZero (typically markWord::unused_mark()). // - Biased: box->dhw is undefined // // SPARC refworkload performance - specifically jetstream and scimark - are // extremely sensitive to the size of the code emitted by compiler_lock_object // and compiler_unlock_object. Critically, the key factor is code size, not path --- 2605,2616 ---- // Any non-zero value suffices. // Consider G2_thread, rsp, boxReg, or markWord::unused_mark() // - Successful Stack-lock: box->dhw == mark. // box->dhw must contain the displaced mark word value // - Failure -- icc.ZFlag == 0 and box->dhw is undefined. ! // The slow-path enter() is responsible for setting ! // box->dhw = NonZero (typically markWord::unused_mark()). // - Biased: box->dhw is undefined // // SPARC refworkload performance - specifically jetstream and scimark - are // extremely sensitive to the size of the code emitted by compiler_lock_object // and compiler_unlock_object. Critically, the key factor is code size, not path
< prev index next >