comparison src/share/vm/utilities/exceptions.cpp @ 4140:716a2c5c0656

Further reduce diff to HotSpot.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 18 Dec 2011 01:01:34 +0100
parents 04b9a2566eec
children 33df1aeaebbf
comparison
equal deleted inserted replaced
4139:feb590a8497f 4140:716a2c5c0656
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 // (tw) May we do this? 98 // TODO(tw): May we do this?
99 /*|| thread->is_Compiler_thread()*/ ) { 99 /*|| thread->is_Compiler_thread()*/ ) {
100 // We do not care what kind of exception we get for the vm-thread or a thread which 100 // 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 101 // is compiling. We just install a dummy exception object
102 thread->set_pending_exception(Universe::vm_exception(), file, line); 102 thread->set_pending_exception(Universe::vm_exception(), file, line);
103 return true; 103 return true;
117 } 117 }
118 ShouldNotReachHere(); 118 ShouldNotReachHere();
119 } 119 }
120 120
121 if (thread->is_VM_thread() 121 if (thread->is_VM_thread()
122 // (tw) May we do this? 122 // TODO(tw): May we do this?
123 /* || thread->is_Compiler_thread()*/ ) { 123 /* || thread->is_Compiler_thread()*/ ) {
124 // We do not care what kind of exception we get for the vm-thread or a thread which 124 // 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 125 // is compiling. We just install a dummy exception object
126 thread->set_pending_exception(Universe::vm_exception(), file, line); 126 thread->set_pending_exception(Universe::vm_exception(), file, line);
127 return true; 127 return true;