hotspot/src/share/vm/runtime/sharedRuntime.hpp
changeset 46727 6e4a84748e2c
parent 42650 1f304d0c888b
equal deleted inserted replaced
46726:7801367e3cc9 46727:6e4a84748e2c
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   355   static address clean_opt_virtual_call_entry();
   355   static address clean_opt_virtual_call_entry();
   356   static address clean_static_call_entry();
   356   static address clean_static_call_entry();
   357 
   357 
   358 #if defined(X86) && defined(COMPILER1)
   358 #if defined(X86) && defined(COMPILER1)
   359   // For Object.hashCode, System.identityHashCode try to pull hashCode from object header if available.
   359   // For Object.hashCode, System.identityHashCode try to pull hashCode from object header if available.
   360   static void inline_check_hashcode_from_object_header(MacroAssembler* masm, methodHandle method, Register obj_reg, Register result);
   360   static void inline_check_hashcode_from_object_header(MacroAssembler* masm, const methodHandle& method, Register obj_reg, Register result);
   361 #endif // X86 && COMPILER1
   361 #endif // X86 && COMPILER1
   362 
   362 
   363  public:
   363  public:
   364 
   364 
   365   // Read the array of BasicTypes from a Java signature, and compute where
   365   // Read the array of BasicTypes from a Java signature, and compute where