hotspot/src/cpu/x86/vm/stubRoutines_x86_64.hpp
changeset 9976 6fef34e63df1
parent 9630 d6419e4395e3
child 11961 0abd4cd26e5a
equal deleted inserted replaced
9975:82190b49ce14 9976:6fef34e63df1
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2011, 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.
    32 static bool    returns_to_call_stub(address return_pc)   { return return_pc == _call_stub_return_address; }
    32 static bool    returns_to_call_stub(address return_pc)   { return return_pc == _call_stub_return_address; }
    33 
    33 
    34 enum platform_dependent_constants {
    34 enum platform_dependent_constants {
    35   code_size1 = 19000,          // simply increase if too small (assembler will crash if too small)
    35   code_size1 = 19000,          // simply increase if too small (assembler will crash if too small)
    36   code_size2 = 22000           // simply increase if too small (assembler will crash if too small)
    36   code_size2 = 22000           // simply increase if too small (assembler will crash if too small)
    37 };
       
    38 
       
    39 // MethodHandles adapters
       
    40 enum method_handles_platform_dependent_constants {
       
    41   method_handles_adapters_code_size = 80000 DEBUG_ONLY(+ 120000)
       
    42 };
    37 };
    43 
    38 
    44 class x86 {
    39 class x86 {
    45  friend class StubGenerator;
    40  friend class StubGenerator;
    46 
    41