31 #include "compiler/compileBroker.hpp"
32 #include "compiler/disassembler.hpp"
33 #include "gc_implementation/shared/markSweep.hpp"
34 #include "gc_interface/collectedHeap.hpp"
35 #include "interpreter/bytecodeHistogram.hpp"
36 #include "interpreter/interpreter.hpp"
37 #include "memory/resourceArea.hpp"
38 #include "memory/universe.hpp"
39 #include "oops/oop.inline.hpp"
40 #include "prims/privilegedStack.hpp"
41 #include "runtime/arguments.hpp"
42 #include "runtime/atomic.inline.hpp"
43 #include "runtime/frame.hpp"
44 #include "runtime/java.hpp"
45 #include "runtime/os.hpp"
46 #include "runtime/sharedRuntime.hpp"
47 #include "runtime/stubCodeGenerator.hpp"
48 #include "runtime/stubRoutines.hpp"
49 #include "runtime/thread.inline.hpp"
50 #include "runtime/vframe.hpp"
51 #include "services/heapDumper.hpp"
52 #include "utilities/defaultStream.hpp"
53 #include "utilities/events.hpp"
54 #include "utilities/top.hpp"
55 #include "utilities/vmError.hpp"
56
57 #ifndef ASSERT
58 # ifdef _DEBUG
59 // NOTE: don't turn the lines below into a comment -- if you're getting
60 // a compile error here, change the settings to define ASSERT
61 ASSERT should be defined when _DEBUG is defined. It is not intended to be used for debugging
62 functions that do not slow down the system too much and thus can be left in optimized code.
63 On the other hand, the code should not be included in a production version.
64 # endif // _DEBUG
65 #endif // ASSERT
66
67
68 #ifdef _DEBUG
69 # ifndef ASSERT
70 configuration error: ASSERT must be defined in debug version
|
31 #include "compiler/compileBroker.hpp"
32 #include "compiler/disassembler.hpp"
33 #include "gc_implementation/shared/markSweep.hpp"
34 #include "gc_interface/collectedHeap.hpp"
35 #include "interpreter/bytecodeHistogram.hpp"
36 #include "interpreter/interpreter.hpp"
37 #include "memory/resourceArea.hpp"
38 #include "memory/universe.hpp"
39 #include "oops/oop.inline.hpp"
40 #include "prims/privilegedStack.hpp"
41 #include "runtime/arguments.hpp"
42 #include "runtime/atomic.inline.hpp"
43 #include "runtime/frame.hpp"
44 #include "runtime/java.hpp"
45 #include "runtime/os.hpp"
46 #include "runtime/sharedRuntime.hpp"
47 #include "runtime/stubCodeGenerator.hpp"
48 #include "runtime/stubRoutines.hpp"
49 #include "runtime/thread.inline.hpp"
50 #include "runtime/vframe.hpp"
51 #include "runtime/vm_version.hpp"
52 #include "services/heapDumper.hpp"
53 #include "utilities/defaultStream.hpp"
54 #include "utilities/events.hpp"
55 #include "utilities/top.hpp"
56 #include "utilities/vmError.hpp"
57
58 #ifndef ASSERT
59 # ifdef _DEBUG
60 // NOTE: don't turn the lines below into a comment -- if you're getting
61 // a compile error here, change the settings to define ASSERT
62 ASSERT should be defined when _DEBUG is defined. It is not intended to be used for debugging
63 functions that do not slow down the system too much and thus can be left in optimized code.
64 On the other hand, the code should not be included in a production version.
65 # endif // _DEBUG
66 #endif // ASSERT
67
68
69 #ifdef _DEBUG
70 # ifndef ASSERT
71 configuration error: ASSERT must be defined in debug version
|