1.1 --- a/src/cpu/x86/vm/stubRoutines_x86_64.hpp Thu Mar 11 05:09:20 2010 -0800 1.2 +++ b/src/cpu/x86/vm/stubRoutines_x86_64.hpp Tue Mar 16 11:52:17 2010 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved. 1.6 + * Copyright 2003-2010 Sun Microsystems, Inc. All Rights Reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -28,12 +28,14 @@ 1.11 1.12 static bool returns_to_call_stub(address return_pc) { return return_pc == _call_stub_return_address; } 1.13 1.14 -enum platform_dependent_constants 1.15 -{ 1.16 - code_size1 = 19000, // simply increase if too small (assembler will 1.17 - // crash if too small) 1.18 - code_size2 = 22000 // simply increase if too small (assembler will 1.19 - // crash if too small) 1.20 +enum platform_dependent_constants { 1.21 + code_size1 = 19000, // simply increase if too small (assembler will crash if too small) 1.22 + code_size2 = 22000 // simply increase if too small (assembler will crash if too small) 1.23 +}; 1.24 + 1.25 +// MethodHandles adapters 1.26 +enum method_handles_platform_dependent_constants { 1.27 + method_handles_adapters_code_size = 13000 1.28 }; 1.29 1.30 class x86 {