Where is the entry point of java calls
Karen Kinnear
Karen.Kinnear at Sun.COM
Wed Mar 4 09:59:17 PST 2009
Colin,
We don't use javaCalls for calls from one java method to another.
I believe you are writing an interpreter (or modifying the C++
interpreter)?
So you want to look at the code you generated - which will invoke
java methods directly. See the bytecodes for invoke_virtual/special/
interface.
hope this helps,
Karen
On Mar 4, 2009, at 12:53 PM, Colin(Du Li) wrote:
>
> Hi, guys.
> Could anyone help me ? Or do I need express my question more clearly?
> I really need help for this question.
> Thanks a lot!
>
> Colin
>
> Colin(Du Li) wrote:
>>
>> Hello,
>> My question is where is the entry point of java calls in hotspot.
>> If I have a simple application as follow:
>>
>> public class HelloWorld{
>> public static void main(String[] args){
>> hello2();
>> }
>> public static void hello2(){
>> System.out.println("hello 2.");
>> }
>> }
>>
>> If I observe at javaCalls:call_helper(), I can only see method
>> HelloWorld.main(), I cannot see method HelloWorld.hello2(). Why?
>> and How
>> can I find the entry point of method HelloWorld.hello2()?
>>
>> Thanks a lot!
>>
>> Colin
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Where-is-the-entry-point-of-java-calls-tp22298233p22335492.html
> Sent from the OpenJDK Hotspot Virtual Machine mailing list archive
> at Nabble.com.
>
More information about the hotspot-dev
mailing list