Mercurial > hg > graal-compiler
diff src/share/vm/runtime/javaCalls.cpp @ 14518:d8041d695d19
Merged with jdk9/dev/hotspot changeset 3812c088b945
author | twisti |
---|---|
date | Tue, 11 Mar 2014 18:45:59 -0700 |
parents | cefad50507d8 e5d78f318aec |
children | 3e9a960f0da1 |
line wrap: on
line diff
--- a/src/share/vm/runtime/javaCalls.cpp Wed Mar 12 00:00:05 2014 +0100 +++ b/src/share/vm/runtime/javaCalls.cpp Tue Mar 11 18:45:59 2014 -0700 @@ -319,7 +319,7 @@ // Check if we need to wrap a potential OS exception handler around thread // This is used for e.g. Win32 structured exception handlers assert(THREAD->is_Java_thread(), "only JavaThreads can make JavaCalls"); - // Need to wrap each and everytime, since there might be native code down the + // Need to wrap each and every time, since there might be native code down the // stack that has installed its own exception handlers os::os_exception_wrapper(call_helper, result, &method, args, THREAD); } @@ -356,7 +356,7 @@ // A klass might not be initialized since JavaCall's might be used during the executing of // the <clinit>. For example, a Thread.start might start executing on an object that is // not fully initialized! (bad Java programming style) - assert(holder->is_linked(), "rewritting must have taken place"); + assert(holder->is_linked(), "rewriting must have taken place"); } #endif