8223064: Minor cleanups in ResolvedMethodTable
authorstefank
Thu, 02 May 2019 10:32:28 +0200
changeset 54680 5b168a63cec5
parent 54679 3a2e45820d77
child 54681 edd709e64ea1
8223064: Minor cleanups in ResolvedMethodTable Reviewed-by: hseigel, coleenp
src/hotspot/share/prims/resolvedMethodTable.cpp
--- 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() {