src/cpu/x86/vm/stubRoutines_x86_64.hpp

changeset 1734
9eba43136cb5
parent 772
9ee9cf798b59
child 1907
c18cbe5936b8
equal deleted inserted replaced
1733:da06d1795d84 1734:9eba43136cb5
1 /* 1 /*
2 * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 2003-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.
26 // definition. See stubRoutines.hpp for a description on how to 26 // definition. See stubRoutines.hpp for a description on how to
27 // extend it. 27 // extend it.
28 28
29 static bool returns_to_call_stub(address return_pc) { return return_pc == _call_stub_return_address; } 29 static bool returns_to_call_stub(address return_pc) { return return_pc == _call_stub_return_address; }
30 30
31 enum platform_dependent_constants 31 enum platform_dependent_constants {
32 { 32 code_size1 = 19000, // simply increase if too small (assembler will crash if too small)
33 code_size1 = 19000, // simply increase if too small (assembler will 33 code_size2 = 22000 // simply increase if too small (assembler will crash if too small)
34 // crash if too small) 34 };
35 code_size2 = 22000 // simply increase if too small (assembler will 35
36 // crash if too small) 36 // MethodHandles adapters
37 enum method_handles_platform_dependent_constants {
38 method_handles_adapters_code_size = 13000
37 }; 39 };
38 40
39 class x86 { 41 class x86 {
40 friend class StubGenerator; 42 friend class StubGenerator;
41 43

mercurial