Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/thread.cpp @ 1135:e66fd840cb6b
6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164)
Summary: During the work for 6829187 we have fixed a number of basic bugs which are logically grouped with 6815692 and 6858164 but which must be reviewed and pushed separately.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Mon, 04 Jan 2010 18:38:08 +0100 |
parents | 39b01ab7035a |
children | 4ce7240d622c |
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp Mon Jan 04 07:04:46 2010 -0800 +++ b/src/share/vm/runtime/thread.cpp Mon Jan 04 18:38:08 2010 +0100 @@ -3055,6 +3055,12 @@ warning("java.lang.ArithmeticException has not been initialized"); warning("java.lang.StackOverflowError has not been initialized"); } + + if (EnableInvokeDynamic) { + // JSR 292: An intialized java.dyn.InvokeDynamic is required in + // the compiler. + initialize_class(vmSymbolHandles::java_dyn_InvokeDynamic(), CHECK_0); + } } // See : bugid 4211085.