Mercurial > hg > truffle
diff src/share/vm/c1/c1_Runtime1.cpp @ 4977:532be189cf09
Reducing diff to hsx24
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 17:06:18 +0100 |
parents | ab906cea36f7 |
children | 0ebca2e35ca5 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Runtime1.cpp Mon Feb 27 16:26:41 2012 +0100 +++ b/src/share/vm/c1/c1_Runtime1.cpp Mon Feb 27 17:06:18 2012 +0100 @@ -201,6 +201,10 @@ case slow_subtype_check_id: case fpu2long_stub_id: case unwind_exception_id: + case counter_overflow_id: +#if defined(SPARC) || defined(PPC) + case handle_exception_nofpu_id: // Unused on sparc +#endif #ifdef GRAAL case graal_verify_pointer_id: case graal_unwind_exception_call_id: @@ -209,12 +213,6 @@ case graal_arithmetic_drem_id: case graal_set_deopt_info_id: #endif -#ifndef TIERED - case counter_overflow_id: // Not generated outside the tiered world -#endif -#if defined(SPARC) || defined(PPC) - case handle_exception_nofpu_id: // Unused on sparc -#endif break; // All other stubs should have oopmaps @@ -744,19 +742,7 @@ EXCEPTION_MARK; oop obj = lock->obj(); - -#ifdef DEBUG - if (!obj->is_oop()) { - ResetNoHandleMark rhm; - nmethod* method = thread->last_frame().cb()->as_nmethod_or_null(); - if (method != NULL) { - tty->print_cr("ERROR in monitorexit in method %s wrong obj " INTPTR_FORMAT, method->name(), obj); - } - thread->print_stack_on(tty); - assert(false, "invalid lock object pointer dected"); - } -#endif - + assert(obj->is_oop(), "must be NULL or an object"); if (UseFastLocking) { // When using fast locking, the compiled code has already tried the fast case ObjectSynchronizer::slow_exit(obj, lock->lock(), THREAD);