How is JVM.cpp used

Doug Simon doug.simon at oracle.com
Wed May 22 19:20:53 UTC 2013


As far as I know, it's mostly used by native code in the JDK:

find jdk8/jdk -name '*.[ch]' | while read f; do grep -H "jvm.h" $f; done

-Doug

On May 22, 2013, at 7:38 PM, Jipeng Huang <robinhjp at gmail.com> wrote:

> The reason why I had that question is that I noted that there're some
> method entries for methods inside java.lang.System in jvm.cpp. I don't know
> whether those entries would be used by interpreter or something else.
> 
> 
> On Wed, May 22, 2013 at 10:29 AM, Jipeng Huang <robinhjp at gmail.com> wrote:
> 
>> Hi,
>> 
>> I'm new to openjdk and currently I'm modifying some library methods like
>> methods inside java.lang.System. I can easily change the corresponding
>> method calls for c1 and c2 compilers by changing the mapping between
>> intrinsics and methods but I don't know where jvm.cpp is used and whether
>> that can affect the result.
>> 
>> Thanks,
>> Jipeng
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://openjdk.5641.n7.nabble.com/How-is-JVM-cpp-used-tp135050.html
>> Sent from the OpenJDK General discussion mailing list archive at
>> Nabble.com.
>> 
> 
> 
> 
> -- 
> Jipeng Huang




More information about the discuss mailing list