Very poor performance of JNI AttachCurrentThread on Linux
David Holmes
david.holmes at oracle.com
Wed Feb 27 05:06:56 PST 2013
On 27/02/2013 8:19 PM, Andrew Haley wrote:
> On 02/26/2013 08:38 PM, Dmitry Samersoff wrote:
>> Is there a performance problems with other applications?
>
> Other than what? Every usage of JNI AttachCurrentThread is severely
> impacted.
In a debug build this affects all threads. Otherwise it only affects the
main thread - or should. Are you seeing something different? The "other
application" is LibreOffice where the main thread keeps attaching and
detaching.
David
More information about the hotspot-dev
mailing list