hotspot/src/cpu/sparc/vm/stubRoutines_sparc.hpp
changeset 5050 47ecd86932ce
parent 1 489c9b5090e2
child 5687 b862d1f189bd
child 5547 f4b087cbb361
equal deleted inserted replaced
5049:cdeb352c6bbe 5050:47ecd86932ce
     1 /*
     1 /*
     2  * Copyright 1997-2007 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.
    35           (return_pc == _call_stub_return_address );
    35           (return_pc == _call_stub_return_address );
    36 }
    36 }
    37 
    37 
    38 enum /* platform_dependent_constants */ {
    38 enum /* platform_dependent_constants */ {
    39   // %%%%%%%% May be able to shrink this a lot
    39   // %%%%%%%% May be able to shrink this a lot
    40   code_size1 = 20000,                                        // simply increase if too small (assembler will crash if too small)
    40   code_size1 = 20000,           // simply increase if too small (assembler will crash if too small)
    41   code_size2 = 20000                                         // simply increase if too small (assembler will crash if too small)
    41   code_size2 = 20000            // simply increase if too small (assembler will crash if too small)
       
    42 };
       
    43 
       
    44 // MethodHandles adapters
       
    45 enum method_handles_platform_dependent_constants {
       
    46   method_handles_adapters_code_size = 5000
    42 };
    47 };
    43 
    48 
    44 class Sparc {
    49 class Sparc {
    45  friend class StubGenerator;
    50  friend class StubGenerator;
    46 
    51