harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev" <aleksey.shipi...@gmail.com>
Subject Re: [drlvm][jni][performance] JNI improvements
Date Thu, 10 Apr 2008 09:08:20 GMT
[Charging... Clear... *ZAP*]

Colleagues,

I had updated JNI transition optimization umbrella issue [1] with
distribution of clean/dirty patches. There are 2 issues ready for
commit, can some VM guru review them and commit?

Thanks,
Aleksey.

[1] https://issues.apache.org/jira/browse/HARMONY-4704

On Sun, Jan 27, 2008 at 12:34 AM, Aleksey Shipilev
<aleksey.shipilev@gmail.com> wrote:
> [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
>

Mime
View raw message