100 NOT_PRODUCT(m->set_compiled_invocation_count(0);) |
100 NOT_PRODUCT(m->set_compiled_invocation_count(0);) |
101 m->set_interpreter_invocation_count(0); |
101 m->set_interpreter_invocation_count(0); |
102 m->invocation_counter()->init(); |
102 m->invocation_counter()->init(); |
103 m->backedge_counter()->init(); |
103 m->backedge_counter()->init(); |
104 m->clear_number_of_breakpoints(); |
104 m->clear_number_of_breakpoints(); |
|
105 |
|
106 #ifdef TIERED |
|
107 m->set_rate(0); |
|
108 m->set_prev_event_count(0); |
|
109 m->set_prev_time(0); |
|
110 #endif |
105 |
111 |
106 assert(m->is_parsable(), "must be parsable here."); |
112 assert(m->is_parsable(), "must be parsable here."); |
107 assert(m->size() == size, "wrong size for object"); |
113 assert(m->size() == size, "wrong size for object"); |
108 // We should not publish an uprasable object's reference |
114 // We should not publish an uprasable object's reference |
109 // into one that is parsable, since that presents problems |
115 // into one that is parsable, since that presents problems |