review request (M): 7056328: JSR 292 invocation sometimes fails in adapters for types not on boot class path
John Rose
john.r.rose at oracle.com
Wed Jun 22 23:59:01 PDT 2011
On Jun 22, 2011, at 11:11 PM, Tom Rodriguez wrote:
> Overall this looks good. It's unfortunate we have to jump through so many hoops for this. What's with these new constants?
>
> + ETF_FORCE_DIRECT_HANDLE = 64,
> + ETF_COMPILE_DIRECT_HANDLE = 65,
>
> Are they used over in the JDK side?
They are used in stress testing; see this patch:
http://hg.openjdk.java.net/mlvm/mlvm/jdk/file/tip/meth-hackdirect.patch
This patch is not going into JDK 7, but it is a useful stress test. It allows us to compile and run every MH that receives an invokeWithArguments. The JVM hook (which is package private) uses the above constants.
-- John
More information about the hotspot-compiler-dev
mailing list