comparison src/cpu/sparc/vm/stubRoutines_sparc.hpp @ 1299:9eba43136cb5

6934494: JSR 292 MethodHandles adapters should be generated into their own CodeBlob Summary: Passing a null pointer to an InvokeDynamic function call should lead to a NullPointerException. Reviewed-by: kvn, never
author twisti
date Tue, 16 Mar 2010 11:52:17 +0100
parents a61af66fc99e
children c18cbe5936b8 61b2245abf36
comparison
equal deleted inserted replaced
1298:da06d1795d84 1299:9eba43136cb5
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