Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 13181:389d40d7d99f
fixed bug in MethodData and added assertion that precomputed size == initialized size
reduced diff to upstream HotSpot
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 27 Nov 2013 02:31:03 +0100 |
parents | c0b0974dd509 |
children | 3f34b8f91cc5 25da0f4e5c77 |
comparison
equal
deleted
inserted
replaced
13180:feff37de4465 | 13181:389d40d7d99f |
---|---|
1023 if (method_data == NULL) { | 1023 if (method_data == NULL) { |
1024 ClassLoaderData* loader_data = method->method_holder()->class_loader_data(); | 1024 ClassLoaderData* loader_data = method->method_holder()->class_loader_data(); |
1025 method_data = MethodData::allocate(loader_data, method, CHECK); | 1025 method_data = MethodData::allocate(loader_data, method, CHECK); |
1026 method->set_method_data(method_data); | 1026 method->set_method_data(method_data); |
1027 } else { | 1027 } else { |
1028 method_data->initialize(); | 1028 method_data->initialize(true); |
1029 } | 1029 } |
1030 C2V_END | 1030 C2V_END |
1031 | 1031 |
1032 | 1032 |
1033 C2V_VMENTRY(void, invalidateInstalledCode, (JNIEnv *env, jobject, jobject hotspotInstalledCode)) | 1033 C2V_VMENTRY(void, invalidateInstalledCode, (JNIEnv *env, jobject, jobject hotspotInstalledCode)) |