src/share/vm/runtime/sharedRuntime.cpp

changeset 6658
e0a77b91da68
parent 6627
cf9f24de0b93
child 6680
78bbf4d43a14
     1.1 --- a/src/share/vm/runtime/sharedRuntime.cpp	Fri May 02 16:44:54 2014 -0700
     1.2 +++ b/src/share/vm/runtime/sharedRuntime.cpp	Mon Apr 28 12:39:12 2014 +0200
     1.3 @@ -2690,19 +2690,20 @@
     1.4  JRT_END
     1.5  
     1.6  #ifdef HAVE_DTRACE_H
     1.7 -// Create a dtrace nmethod for this method.  The wrapper converts the
     1.8 -// java compiled calling convention to the native convention, makes a dummy call
     1.9 -// (actually nops for the size of the call instruction, which become a trap if
    1.10 -// probe is enabled). The returns to the caller. Since this all looks like a
    1.11 -// leaf no thread transition is needed.
    1.12 -
    1.13 +/**
    1.14 + * Create a dtrace nmethod for this method.  The wrapper converts the
    1.15 + * Java-compiled calling convention to the native convention, makes a dummy call
    1.16 + * (actually nops for the size of the call instruction, which become a trap if
    1.17 + * probe is enabled), and finally returns to the caller. Since this all looks like a
    1.18 + * leaf, no thread transition is needed.
    1.19 + */
    1.20  nmethod *AdapterHandlerLibrary::create_dtrace_nmethod(methodHandle method) {
    1.21    ResourceMark rm;
    1.22    nmethod* nm = NULL;
    1.23  
    1.24    if (PrintCompilation) {
    1.25      ttyLocker ttyl;
    1.26 -    tty->print("---   n%s  ");
    1.27 +    tty->print("---   n  ");
    1.28      method->print_short_name(tty);
    1.29      if (method->is_static()) {
    1.30        tty->print(" (static)");

mercurial