Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

do native calls run in jvm itself?  RSS feed

 
amitabh mehra
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if my question makes sense or not.
If I am making a native call from my Java program using JNI, does the native function run in jvm itself or does the jvm just calls up the native dll and waits for its response.
Kindly point me to some material on the same if available.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All calls to DLLs effectively run in the process that makes the call; JNI calls are no different.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!