aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/hotspot/share/ci/ciMethod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hotspot/share/ci/ciMethod.cpp')
-rw-r--r--src/hotspot/share/ci/ciMethod.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hotspot/share/ci/ciMethod.cpp b/src/hotspot/share/ci/ciMethod.cpp
index 19ba5205f8f..699705f1bdf 100644
--- a/src/hotspot/share/ci/ciMethod.cpp
+++ b/src/hotspot/share/ci/ciMethod.cpp
@@ -965,8 +965,7 @@ bool ciMethod::ensure_method_data(const methodHandle& h_m) {
}
if (h_m()->method_data() != NULL) {
_method_data = CURRENT_ENV->get_method_data(h_m()->method_data());
- _method_data->load_data();
- return true;
+ return _method_data->load_data();
} else {
_method_data = CURRENT_ENV->get_empty_methodData();
return false;