diff -r 7801367e3cc9 -r 6e4a84748e2c hotspot/src/share/vm/runtime/sharedRuntime.hpp --- a/hotspot/src/share/vm/runtime/sharedRuntime.hpp Thu Jul 27 15:36:15 2017 +0200 +++ b/hotspot/src/share/vm/runtime/sharedRuntime.hpp Thu Jul 27 18:06:41 2017 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2016, 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 @@ -357,7 +357,7 @@ #if defined(X86) && defined(COMPILER1) // For Object.hashCode, System.identityHashCode try to pull hashCode from object header if available. - static void inline_check_hashcode_from_object_header(MacroAssembler* masm, methodHandle method, Register obj_reg, Register result); + static void inline_check_hashcode_from_object_header(MacroAssembler* masm, const methodHandle& method, Register obj_reg, Register result); #endif // X86 && COMPILER1 public: