equal
deleted
inserted
replaced
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 |