8043224: -Xcheck:jni improvements to exception checking and excessive local refs

Warning when not checking exceptions from function that require so, also when local refs expand beyond capacity.

Reviewed-by: zgu, coleenp, hseigel
This commit is contained in:
David Simms 2014-06-11 18:34:09 +02:00
parent b6a2f946f6
commit d9b63bdbdd
6 changed files with 201 additions and 101 deletions

View file

@ -1448,6 +1448,7 @@ void JavaThread::initialize() {
_thread_stat = new ThreadStatistics();
_blocked_on_compilation = false;
_jni_active_critical = 0;
_pending_jni_exception_check_fn = NULL;
_do_not_unlock_if_synchronized = false;
_cached_monitor_info = NULL;
_parker = Parker::Allocate(this) ;