RFR (S): 8221205: Obsolete AllowJNIEnvProxy

Harold Seigel harold.seigel at oracle.com
Wed Jul 24 11:55:10 UTC 2019

Hi David,

This looks good.  Would it be worthwhile to add an assert that thread == 
JavaThread::current() in 
*thread), or get rid of the thread parameter?

Thanks, Harold

On 7/23/2019 7:49 PM, David Holmes wrote:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8221205
> webrev: http://cr.openjdk.java.net/~dholmes/8221205/webrev/
> The ancient AllowJNIEnvProxy flag was deprecated in 13 and is now 
> being obsoleted in 14.
> The code that contained the flag check always operates on a thread 
> instance that is the current thread.
> Thanks,
> David

More information about the hotspot-runtime-dev mailing list