Propose the introduction of "-Xcheck:jniverbose" and move some of the more expensive and verbose "-Xcheck:jni" features into the "jniverbose".
8043224: -Xcheck:jni improvements to exception checking and excessive local refs
Adds warnings for every time the user has not checked for pending exceptions, the warnings are emitted for every call site, even when is no pending exception. This as caused some grief with code that may make a single check for batches of calls, excessive warnings are produced, this leads to testing timeouts in some cases.
6311046: -Xcheck:jni should support checking of GetPrimitiveArrayCritical
The guarded memory checks here are very expensive for high throughput, like AWT event testing, it's been causing timeouts.
Folks in the wild are also affected, e.g.: https://community.oracle.com/thread/3783234
* check_exceptions should only warn if there is a pending exception (same as previous to 8043224)
* guarded memory not used (same as previous to 6311046)
* check_exceptions complains pedantically for every unchecked call, as-per 8043224
* guarded memory used as per 6311046