33 #include "classfile/symbolTable.hpp"
34 #include "classfile/systemDictionary.hpp"
35 #include "classfile/verifier.hpp"
36 #include "classfile/vmSymbols.hpp"
37 #include "interpreter/bytecodes.hpp"
38 #include "interpreter/bytecodeStream.hpp"
39 #include "logging/log.hpp"
40 #include "logging/logStream.hpp"
41 #include "memory/oopFactory.hpp"
42 #include "memory/resourceArea.hpp"
43 #include "memory/universe.hpp"
44 #include "oops/constantPool.inline.hpp"
45 #include "oops/instanceKlass.hpp"
46 #include "oops/oop.inline.hpp"
47 #include "oops/typeArrayOop.hpp"
48 #include "runtime/fieldDescriptor.hpp"
49 #include "runtime/handles.inline.hpp"
50 #include "runtime/interfaceSupport.inline.hpp"
51 #include "runtime/javaCalls.hpp"
52 #include "runtime/jniHandles.inline.hpp"
53 #include "runtime/orderAccess.hpp"
54 #include "runtime/os.hpp"
55 #include "runtime/safepointVerifiers.hpp"
56 #include "runtime/thread.hpp"
57 #include "services/threadService.hpp"
58 #include "utilities/align.hpp"
59 #include "utilities/bytes.hpp"
60
61 #define NOFAILOVER_MAJOR_VERSION 51
62 #define NONZERO_PADDING_BYTES_IN_SWITCH_MAJOR_VERSION 51
63 #define STATIC_METHOD_IN_INTERFACE_MAJOR_VERSION 52
64 #define MAX_ARRAY_DIMENSIONS 255
65
66 // Access to external entry for VerifyClassForMajorVersion - old byte code verifier
67
68 extern "C" {
69 typedef jboolean (*verify_byte_codes_fn_t)(JNIEnv *, jclass, char *, jint, jint);
70 }
71
72 static verify_byte_codes_fn_t volatile _verify_byte_codes_fn = NULL;
73
|
33 #include "classfile/symbolTable.hpp"
34 #include "classfile/systemDictionary.hpp"
35 #include "classfile/verifier.hpp"
36 #include "classfile/vmSymbols.hpp"
37 #include "interpreter/bytecodes.hpp"
38 #include "interpreter/bytecodeStream.hpp"
39 #include "logging/log.hpp"
40 #include "logging/logStream.hpp"
41 #include "memory/oopFactory.hpp"
42 #include "memory/resourceArea.hpp"
43 #include "memory/universe.hpp"
44 #include "oops/constantPool.inline.hpp"
45 #include "oops/instanceKlass.hpp"
46 #include "oops/oop.inline.hpp"
47 #include "oops/typeArrayOop.hpp"
48 #include "runtime/fieldDescriptor.hpp"
49 #include "runtime/handles.inline.hpp"
50 #include "runtime/interfaceSupport.inline.hpp"
51 #include "runtime/javaCalls.hpp"
52 #include "runtime/jniHandles.inline.hpp"
53 #include "runtime/os.hpp"
54 #include "runtime/safepointVerifiers.hpp"
55 #include "runtime/thread.hpp"
56 #include "services/threadService.hpp"
57 #include "utilities/align.hpp"
58 #include "utilities/bytes.hpp"
59
60 #define NOFAILOVER_MAJOR_VERSION 51
61 #define NONZERO_PADDING_BYTES_IN_SWITCH_MAJOR_VERSION 51
62 #define STATIC_METHOD_IN_INTERFACE_MAJOR_VERSION 52
63 #define MAX_ARRAY_DIMENSIONS 255
64
65 // Access to external entry for VerifyClassForMajorVersion - old byte code verifier
66
67 extern "C" {
68 typedef jboolean (*verify_byte_codes_fn_t)(JNIEnv *, jclass, char *, jint, jint);
69 }
70
71 static verify_byte_codes_fn_t volatile _verify_byte_codes_fn = NULL;
72
|