-
Bug
-
Resolution: Unresolved
-
P3
-
8
-
Fix Understood
The checked version of Get/Release<type>ArrayElements uses GuardedMemory to perform error checking. When releasing the array the code needs to check for the known array tags from the other JNI APIs and report an error.
We also expand GuardMemory to allow for a second tag word so that we can discriminate additional allocation sites i.e. identifying use of Get/SetPrimitiveArrayCritical.
We also expand GuardMemory to allow for a second tag word so that we can discriminate additional allocation sites i.e. identifying use of Get/SetPrimitiveArrayCritical.