How to interceptor a java call

Colin(Du Li) dawn2004 at gmail.com
Mon Mar 2 14:26:07 PST 2009


Hello,
I have question about how to interceptor a java call 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 interceptor at  javaCalls:call_helper(), I can only interceptor method 
HelloWorld.main(), I cannot method  HelloWorld.hello2(). Why? and How can I
interceptor method HelloWorld.hello2()?

Thanks a lot!

Colin

-- 
View this message in context: http://www.nabble.com/How-to-interceptor-a-java-call-tp22298233p22298233.html
Sent from the OpenJDK Hotspot Virtual Machine mailing list archive at Nabble.com.




More information about the hotspot-dev mailing list