equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. 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. |
40 |
40 |
41 enum /* platform_dependent_constants */ { |
41 enum /* platform_dependent_constants */ { |
42 // %%%%%%%% May be able to shrink this a lot |
42 // %%%%%%%% May be able to shrink this a lot |
43 code_size1 = 20000, // simply increase if too small (assembler will crash if too small) |
43 code_size1 = 20000, // simply increase if too small (assembler will crash if too small) |
44 code_size2 = 20000 // simply increase if too small (assembler will crash if too small) |
44 code_size2 = 20000 // simply increase if too small (assembler will crash if too small) |
45 }; |
|
46 |
|
47 // MethodHandles adapters |
|
48 enum method_handles_platform_dependent_constants { |
|
49 method_handles_adapters_code_size = 15000 |
|
50 }; |
45 }; |
51 |
46 |
52 class Sparc { |
47 class Sparc { |
53 friend class StubGenerator; |
48 friend class StubGenerator; |
54 |
49 |