hotspot/src/share/vm/runtime/deoptimization.hpp
changeset 46727 6e4a84748e2c
parent 46542 73dd19b96b5d
child 46998 efb404beeefb
--- a/hotspot/src/share/vm/runtime/deoptimization.hpp	Thu Jul 27 15:36:15 2017 +0200
+++ b/hotspot/src/share/vm/runtime/deoptimization.hpp	Thu Jul 27 18:06:41 2017 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -417,7 +417,7 @@
   // returning to a deoptimized caller
   static void popframe_preserve_args(JavaThread* thread, int bytes_to_save, void* start_address);
 
-  static MethodData* get_method_data(JavaThread* thread, methodHandle m, bool create_if_missing);
+  static MethodData* get_method_data(JavaThread* thread, const methodHandle& m, bool create_if_missing);
  private:
   // Update the mdo's count and per-BCI reason bits, returning previous state:
   static ProfileData* query_update_method_data(MethodData* trap_mdo,