changeset 54680:5b168a63cec5

8223064: Minor cleanups in ResolvedMethodTable Reviewed-by: hseigel, coleenp
author stefank
date Thu, 02 May 2019 10:32:28 +0200
parents 3a2e45820d77
children edd709e64ea1
files src/hotspot/share/prims/resolvedMethodTable.cpp
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/prims/resolvedMethodTable.cpp	Thu May 02 10:32:14 2019 +0200
+++ b/src/hotspot/share/prims/resolvedMethodTable.cpp	Thu May 02 10:32:28 2019 +0200
@@ -60,7 +60,6 @@
  public:
   static uintx get_hash(WeakHandle<vm_resolved_method_table_data> const& value,
                         bool* is_dead) {
-    EXCEPTION_MARK;
     oop val_oop = value.peek();
     if (val_oop == NULL) {
       *is_dead = true;
@@ -176,8 +175,8 @@
   LogTarget(Debug, membername, table) log;
   if (log.is_enabled()) {
     ResourceMark rm;
-    log_debug(membername, table) ("ResolvedMethod entry added for %s",
-                                  method->name_and_sig_as_C_string());
+    log.print("ResolvedMethod entry added for %s",
+              method->name_and_sig_as_C_string());
   }
 }
 
@@ -198,8 +197,6 @@
       return wh.resolve();
     }
   }
-
-  return rmethod_name();
 }
 
 void ResolvedMethodTable::item_added() {