comparison src/cpu/x86/vm/stubRoutines_x86_32.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 9ee9cf798b59
children c18cbe5936b8
comparison
equal deleted inserted replaced
1298:da06d1795d84 1299:9eba43136cb5
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: