63 if (nm == NULL) { |
63 if (nm == NULL) { |
64 delete probes; |
64 delete probes; |
65 THROW_MSG_0(vmSymbols::java_lang_RuntimeException(), |
65 THROW_MSG_0(vmSymbols::java_lang_RuntimeException(), |
66 "Unable to register DTrace probes (CodeCache: no room for DTrace nmethods)."); |
66 "Unable to register DTrace probes (CodeCache: no room for DTrace nmethods)."); |
67 } |
67 } |
68 h_method()->set_not_compilable(CompLevel_highest_tier); |
68 h_method()->set_not_compilable(); |
69 h_method()->set_code(h_method, nm); |
69 h_method()->set_code(h_method, nm); |
70 probes->nmethod_at_put(count++, nm); |
70 probes->nmethod_at_put(count++, nm); |
71 } |
71 } |
72 } |
72 } |
73 |
73 |