[reviving thread] Hi, all!
During profiling of some native-intensive workload I had noticed the whole bunch of JNI-related methods are hot on VM side. These include: jthread_get_vm_thread_ptr_stub exn_raised m2n_pop_local_handles free_local_object_handles2 oh_allocate_handle m2n_get_last_frame oh_allocate_local_handle_internal I had remembered I had filed a bunch of experimental JNI improvements for Harmony [1]. Sure, some of them are dirty and not intended for inclusion, but at least one [2] is worth commiting, it will solve the problem with calling "get TLS" method during JNI transition. Can VM gurus have an input here? Any objections? Thanks, Aleksey. [1] https://issues.apache.org/jira/browse/HARMONY-4704 [2] https://issues.apache.org/jira/browse/HARMONY-4705
