773 prev->set_next(new (this) unknown_compiledNode(cb, where)); |
773 prev->set_next(new (this) unknown_compiledNode(cb, where)); |
774 } |
774 } |
775 } |
775 } |
776 |
776 |
777 void ThreadProfiler::vm_update(TickPosition where) { |
777 void ThreadProfiler::vm_update(TickPosition where) { |
778 vm_update(NULL, where); |
778 vm_update("", where); |
779 } |
779 } |
780 |
780 |
781 void ThreadProfiler::vm_update(const char* name, TickPosition where) { |
781 void ThreadProfiler::vm_update(const char* name, TickPosition where) { |
782 int index = entry(vmNode::hash(name)); |
782 int index = entry(vmNode::hash(name)); |
783 assert(index >= 0, "Must be positive"); |
783 assert(index >= 0, "Must be positive"); |