mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
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:
parent
b6a2f946f6
commit
d9b63bdbdd
6 changed files with 201 additions and 101 deletions
|
@ -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) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue