comparison src/share/vm/utilities/exceptions.cpp @ 4978:99d3d8a72252

More ifdef GRAAL usage.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 27 Feb 2012 18:31:27 +0100
parents 33df1aeaebbf
children 1b8d02e10ee8
comparison
equal deleted inserted replaced
4977:532be189cf09 4978:99d3d8a72252
93 "need to increase min_stack_allowed calculation"); 93 "need to increase min_stack_allowed calculation");
94 } 94 }
95 #endif // ASSERT 95 #endif // ASSERT
96 96
97 if (thread->is_VM_thread() 97 if (thread->is_VM_thread()
98 // TODO(tw): May we do this? 98 #ifndef GRAAL
99 /*|| thread->is_Compiler_thread()*/ ) { 99 || thread->is_Compiler_thread()
100 #endif
101 ) {
100 // We do not care what kind of exception we get for the vm-thread or a thread which 102 // We do not care what kind of exception we get for the vm-thread or a thread which
101 // is compiling. We just install a dummy exception object 103 // is compiling. We just install a dummy exception object
102 thread->set_pending_exception(Universe::vm_exception(), file, line); 104 thread->set_pending_exception(Universe::vm_exception(), file, line);
103 return true; 105 return true;
104 } 106 }
117 } 119 }
118 ShouldNotReachHere(); 120 ShouldNotReachHere();
119 } 121 }
120 122
121 if (thread->is_VM_thread() 123 if (thread->is_VM_thread()
122 // TODO(tw): May we do this? 124 #ifndef GRAAL
123 /* || thread->is_Compiler_thread()*/ ) { 125 || thread->is_Compiler_thread()
126 #endif
127 ) {
124 // We do not care what kind of exception we get for the vm-thread or a thread which 128 // We do not care what kind of exception we get for the vm-thread or a thread which
125 // is compiling. We just install a dummy exception object 129 // is compiling. We just install a dummy exception object
126 thread->set_pending_exception(Universe::vm_exception(), file, line); 130 thread->set_pending_exception(Universe::vm_exception(), file, line);
127 return true; 131 return true;
128 } 132 }