Mercurial > hg > truffle
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 10408:836a62f43af9
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 19 Jun 2013 10:45:56 +0200 |
parents | 62ea8789b88a |
children | 8b22524df53b |
comparison
equal
deleted
inserted
replaced
10086:e0fb8a213650 | 10408:836a62f43af9 |
---|---|
1130 C2V_END | 1130 C2V_END |
1131 | 1131 |
1132 | 1132 |
1133 C2V_VMENTRY(void, reprofile, (JNIEnv *env, jobject, jlong metaspace_method)) | 1133 C2V_VMENTRY(void, reprofile, (JNIEnv *env, jobject, jlong metaspace_method)) |
1134 Method* method = asMethod(metaspace_method); | 1134 Method* method = asMethod(metaspace_method); |
1135 method->reset_counters(); | 1135 MethodCounters* mcs = method->method_counters(); |
1136 if (mcs != NULL) { | |
1137 mcs->clear_counters(); | |
1138 } | |
1139 NOT_PRODUCT(method->set_compiled_invocation_count(0)); | |
1136 | 1140 |
1137 nmethod* code = method->code(); | 1141 nmethod* code = method->code(); |
1138 if (code != NULL) { | 1142 if (code != NULL) { |
1139 code->make_not_entrant(); | 1143 code->make_not_entrant(); |
1140 } | 1144 } |