Re: Race Condition in initializeEncoding() function in jni_util.c

2016-11-10 Thread David Holmes
Hi Ron, On 11/11/2016 1:01 AM, Ronald Servant wrote: Hi, While building the J9 JVM for the IBM SDK for Java(*), we've run across what we believe is a race condition in initializeEncoding(JNIEnv*) in jni_util.c. I suspect there is an assumption of single-threaded initialization of the syste

Race Condition in initializeEncoding() function in jni_util.c

2016-11-10 Thread Ronald Servant
Hi, While building the J9 JVM for the IBM SDK for Java(*), we've run across what we believe is a race condition in initializeEncoding(JNIEnv*) in jni_util.c.       (*)  The IBM SDK for Java is comprised of the J9 JVM and OpenJDK class library. We've encountered a situation where (*env)->CallObj