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
Thu Jun 23 00:21:44 PDT 2011
On Jun 22, 2011, at 11:59 PM, John Rose wrote:
> 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
I'm working through several small bugs that the stress test uncovered. Will repost my webrev when done. -- John
More information about the hotspot-compiler-dev
mailing list