JNI implications on HotSpot

Kenneth Roper KDRoper at detica.com
Mon Oct 6 07:16:28 PDT 2008


I wrote a blog entry on one of the pitfalls of extensive usage of JNI
objects on your memory profile in the JVM, which may manifest itself
with unexpected OutOfMemoryErrors:

 

http://www.codingthearchitecture.com/2008/01/14/jvm_lies_the_outofmemory
_myth.html

 

It references a second article about some of the pitfalls of designing
an API for use over JNI:

 

http://www.codingthearchitecture.com/2008/01/08/the_clash_of_the_paradig
ms.html

 

Hope you find them interesting.

 

Regards

Kenneth

 

________________________________

From: hotspot-gc-use-bounces at openjdk.java.net
[mailto:hotspot-gc-use-bounces at openjdk.java.net] On Behalf Of Michael
Finocchiaro
Sent: 06 October 2008 14:46
To: hotspot-gc-use at openjdk.java.net
Subject: JNI implications on HotSpot

 

I was wondering if there were any thoughts, or better yet, white papers,
on the performance implications of JNI code on HotSpot performance and
configuration. The malloc()s in the native JNI code are allocated on the
Eden heap with other Java objects and subject to the same rules? Or not?
Any boundary conditions to beware of? Google was not particularly
helpful so I am coming to the experts :)
Cheers,
Fino



Michael Finocchiaro
michael.finocchiaro at gmail.com
Mobile Telephone: +33 6 85 46 07 62
MSN: le_fino at hotmail.com
Blog: http://mfinocchiaro.wordpress.com
Bookmarks: http://del.icio.us/michael.finocchiaro




This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.  The contents of this email may relate to dealings with other companies within the Detica Group plc group of companies.

Detica Limited is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20081006/cb04a830/attachment.html 


More information about the hotspot-gc-use mailing list