equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2010, 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. |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
|
25 #ifndef SHARE_VM_RUNTIME_REFLECTIONCOMPAT_HPP |
|
26 #define SHARE_VM_RUNTIME_REFLECTIONCOMPAT_HPP |
|
27 |
25 // During the development of the JDK 1.4 reflection implementation |
28 // During the development of the JDK 1.4 reflection implementation |
26 // based on dynamic bytecode generation, it was hoped that the bulk of |
29 // based on dynamic bytecode generation, it was hoped that the bulk of |
27 // the native code for reflection could be removed. Unfortunately |
30 // the native code for reflection could be removed. Unfortunately |
28 // there is currently a significant cost associated with loading the |
31 // there is currently a significant cost associated with loading the |
29 // stub classes which impacts startup time. Until this cost can be |
32 // stub classes which impacts startup time. Until this cost can be |
38 // could be dropped into earlier JDKs for comparative benchmarking.) |
41 // could be dropped into earlier JDKs for comparative benchmarking.) |
39 |
42 |
40 //#ifndef PRODUCT |
43 //#ifndef PRODUCT |
41 # define SUPPORT_OLD_REFLECTION |
44 # define SUPPORT_OLD_REFLECTION |
42 //#endif |
45 //#endif |
|
46 |
|
47 #endif // SHARE_VM_RUNTIME_REFLECTIONCOMPAT_HPP |