Request for reviews (S): 7010180: JSR 292 InvokeDynamicPrintArgs fails with: assert(_adapter == NULL) failed: init'd to NULL
Christian Thalinger
christian.thalinger at oracle.com
Tue Jan 4 08:54:36 PST 2011
http://cr.openjdk.java.net/~twisti/7010180/webrev.01/
7010180: JSR 292 InvokeDynamicPrintArgs fails with: assert(_adapter == NULL) failed: init'd to NULL
Reviewed-by:
Since 7007377 during method handles adapter generation the adapters
for sun.dyn.MethodHandleImpl::raiseException are also generated.
Later when the Rewriter wants to link the method the adapter entry
already exists and the assert triggers.
The fix is to link sun.dyn.MethodHandleImpl class before generating
the method handle adapters. This ensures that the required
c2i-adapter exists.
More information about the hotspot-compiler-dev
mailing list