hotspot/src/cpu/x86/vm/stubRoutines_x86_32.hpp
changeset 5050 47ecd86932ce
parent 1217 5eb97f366a6a
child 5547 f4b087cbb361
equal deleted inserted replaced
5049:cdeb352c6bbe 5050:47ecd86932ce
     1 /*
     1 /*
     2  * Copyright 1997-2008 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 1997-2010 Sun Microsystems, Inc.  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.
    29 enum platform_dependent_constants {
    29 enum platform_dependent_constants {
    30   code_size1 =  9000,           // simply increase if too small (assembler will crash if too small)
    30   code_size1 =  9000,           // simply increase if too small (assembler will crash if too small)
    31   code_size2 = 22000            // simply increase if too small (assembler will crash if too small)
    31   code_size2 = 22000            // simply increase if too small (assembler will crash if too small)
    32 };
    32 };
    33 
    33 
       
    34 // MethodHandles adapters
       
    35 enum method_handles_platform_dependent_constants {
       
    36   method_handles_adapters_code_size = 5000
       
    37 };
       
    38 
    34 class x86 {
    39 class x86 {
    35  friend class StubGenerator;
    40  friend class StubGenerator;
    36  friend class VMStructs;
    41  friend class VMStructs;
    37 
    42 
    38  private:
    43  private: