comparison src/share/vm/prims/jvmtiImpl.hpp @ 1983:c760f78e0a53

7003125: precompiled.hpp is included when precompiled headers are not used Summary: Added an ifndef DONT_USE_PRECOMPILED_HEADER to precompiled.hpp. Set up DONT_USE_PRECOMPILED_HEADER when compiling with Sun Studio or when the user specifies USE_PRECOMPILED_HEADER=0. Fixed broken include dependencies. Reviewed-by: coleenp, kvn
author stefank
date Wed, 01 Dec 2010 15:04:06 +0100
parents f95d63e2154a
children 09b4dd4f152b
comparison
equal deleted inserted replaced
1982:6a2d73358ff7 1983:c760f78e0a53
24 24
25 #ifndef SHARE_VM_PRIMS_JVMTIIMPL_HPP 25 #ifndef SHARE_VM_PRIMS_JVMTIIMPL_HPP
26 #define SHARE_VM_PRIMS_JVMTIIMPL_HPP 26 #define SHARE_VM_PRIMS_JVMTIIMPL_HPP
27 27
28 #ifndef JVMTI_KERNEL 28 #ifndef JVMTI_KERNEL
29
29 #include "classfile/systemDictionary.hpp" 30 #include "classfile/systemDictionary.hpp"
30 #include "jvmtifiles/jvmti.h" 31 #include "jvmtifiles/jvmti.h"
31 #include "oops/objArrayOop.hpp" 32 #include "oops/objArrayOop.hpp"
32 #include "prims/jvmtiEnvThreadState.hpp" 33 #include "prims/jvmtiEnvThreadState.hpp"
33 #include "prims/jvmtiEventController.hpp" 34 #include "prims/jvmtiEventController.hpp"
34 #include "prims/jvmtiTrace.hpp" 35 #include "prims/jvmtiTrace.hpp"
35 #include "prims/jvmtiUtil.hpp" 36 #include "prims/jvmtiUtil.hpp"
36 #include "runtime/stackValueCollection.hpp" 37 #include "runtime/stackValueCollection.hpp"
37 #include "runtime/vm_operations.hpp" 38 #include "runtime/vm_operations.hpp"
38 #endif
39 39
40 // 40 //
41 // Forward Declarations 41 // Forward Declarations
42 // 42 //
43 43
415 static bool resume(JavaThread *java_thread); 415 static bool resume(JavaThread *java_thread);
416 416
417 static void print(); 417 static void print();
418 }; 418 };
419 419
420 #endif // !JVMTI_KERNEL
421
420 // Utility macro that checks for NULL pointers: 422 // Utility macro that checks for NULL pointers:
421 #define NULL_CHECK(X, Y) if ((X) == NULL) { return (Y); } 423 #define NULL_CHECK(X, Y) if ((X) == NULL) { return (Y); }
422 424
423 #endif // SHARE_VM_PRIMS_JVMTIIMPL_HPP 425 #endif // SHARE_VM_PRIMS_JVMTIIMPL_HPP