--- old/src/share/vm/memory/universe.cpp 2015-04-16 13:30:50.701752596 -0700 +++ new/src/share/vm/memory/universe.cpp 2015-04-16 13:30:50.502737544 -0700 @@ -978,7 +978,7 @@ // Setup the array of errors that have preallocated backtrace k = Universe::_out_of_memory_error_java_heap->klass(); - assert(k->name() == vmSymbols::java_lang_OutOfMemoryError(), "should be out of memory error"); + assert(k->name()->equals(vmSymbols::java_lang_OutOfMemoryError()), "should be out of memory error"); k_h = instanceKlassHandle(THREAD, k); int len = (StackTraceInThrowable) ? (int)PreallocatedOutOfMemoryErrorCount : 0;