[10] JBS: 8167408: Invalid critical JNI function lookup

jamsheed jamsheed.c.m at oracle.com
Mon Oct 30 16:45:53 UTC 2017


Hi,

request for review,

jbs : https://bugs.openjdk.java.net/browse/JDK-8167408

webrev: http://cr.openjdk.java.net/~jcm/8167408/webrev.00/

(contributed by Ioannis Tsakpinis)

desc:

-- it starts with JavaCritical_ instead of Java_;
-- it does not have extra JNIEnv* and jclass arguments;
-- Java arrays are passed in two arguments: the first is an array 
length, and the second is a pointer to raw array data. That is, no need 
to call GetArrayElements and friends, you can instantly use a direct 
array pointer.

updated arg_size calculation wrt above points.

Best regards,

Jamsheed



More information about the hotspot-compiler-dev mailing list