hotspot/src/share/vm/runtime/interfaceSupport.cpp
changeset 34285 0b07014c15e9
parent 33148 68fa8b6c4340
child 34633 2a6c7c7b30a7
equal deleted inserted replaced
34277:d457b9400c99 34285:0b07014c15e9
    66     RuntimeHistogram = new Histogram("VM Runtime Call Counts",200);
    66     RuntimeHistogram = new Histogram("VM Runtime Call Counts",200);
    67   }
    67   }
    68 
    68 
    69   RuntimeHistogram->add_element(this);
    69   RuntimeHistogram->add_element(this);
    70   Atomic::dec(&RuntimeHistogram_lock);
    70   Atomic::dec(&RuntimeHistogram_lock);
    71 }
       
    72 
       
    73 void InterfaceSupport::trace(const char* result_type, const char* header) {
       
    74   tty->print_cr("%6ld  %s", _number_of_calls, header);
       
    75 }
    71 }
    76 
    72 
    77 void InterfaceSupport::gc_alot() {
    73 void InterfaceSupport::gc_alot() {
    78   Thread *thread = Thread::current();
    74   Thread *thread = Thread::current();
    79   if (!thread->is_Java_thread()) return; // Avoid concurrent calls
    75   if (!thread->is_Java_thread()) return; // Avoid concurrent calls