< prev index next >

src/hotspot/share/runtime/interfaceSupport.cpp

Print this page

        

*** 45,55 **** long InterfaceSupport::_fullgc_alot_invocation = 0; Histogram* RuntimeHistogram; RuntimeHistogramElement::RuntimeHistogramElement(const char* elementName) { ! static volatile jint RuntimeHistogram_lock = 0; _name = elementName; uintx count = 0; while (Atomic::cmpxchg(1, &RuntimeHistogram_lock, 0) != 0) { while (OrderAccess::load_acquire(&RuntimeHistogram_lock) != 0) { --- 45,55 ---- long InterfaceSupport::_fullgc_alot_invocation = 0; Histogram* RuntimeHistogram; RuntimeHistogramElement::RuntimeHistogramElement(const char* elementName) { ! static volatile int RuntimeHistogram_lock = 0; _name = elementName; uintx count = 0; while (Atomic::cmpxchg(1, &RuntimeHistogram_lock, 0) != 0) { while (OrderAccess::load_acquire(&RuntimeHistogram_lock) != 0) {
< prev index next >