< prev index next >

src/java.base/share/native/libjli/java.c

Print this page

        

*** 239,249 **** int mode = LM_UNKNOWN; char *what = NULL; char *main_class = NULL; int ret; InvocationFunctions ifn; ! jlong start, end; char jvmpath[MAXPATHLEN]; char jrepath[MAXPATHLEN]; char jvmcfg[MAXPATHLEN]; _fVersion = fullversion; --- 239,249 ---- int mode = LM_UNKNOWN; char *what = NULL; char *main_class = NULL; int ret; InvocationFunctions ifn; ! jlong start = 0, end = 0; char jvmpath[MAXPATHLEN]; char jrepath[MAXPATHLEN]; char jvmcfg[MAXPATHLEN]; _fVersion = fullversion;
*** 406,416 **** jclass mainClass = NULL; jclass appClass = NULL; // actual application class being launched jmethodID mainID; jobjectArray mainArgs; int ret = 0; ! jlong start, end; RegisterThread(); /* Initialize the virtual machine */ start = CounterGet(); --- 406,416 ---- jclass mainClass = NULL; jclass appClass = NULL; // actual application class being launched jmethodID mainID; jobjectArray mainArgs; int ret = 0; ! jlong start, end = 0; RegisterThread(); /* Initialize the virtual machine */ start = CounterGet();
*** 1616,1626 **** LoadMainClass(JNIEnv *env, int mode, char *name) { jmethodID mid; jstring str; jobject result; ! jlong start, end; jclass cls = GetLauncherHelperClass(env); NULL_CHECK0(cls); if (JLI_IsTraceLauncher()) { start = CounterGet(); } --- 1616,1626 ---- LoadMainClass(JNIEnv *env, int mode, char *name) { jmethodID mid; jstring str; jobject result; ! jlong start = 0, end = 0; jclass cls = GetLauncherHelperClass(env); NULL_CHECK0(cls); if (JLI_IsTraceLauncher()) { start = CounterGet(); }
*** 2078,2088 **** { FILE *jvmCfg; char line[MAXPATHLEN+20]; int cnt = 0; int lineno = 0; ! jlong start, end; int vmType; char *tmpPtr; char *altVMName = NULL; char *serverClassVMName = NULL; static char *whiteSpace = " \t"; --- 2078,2088 ---- { FILE *jvmCfg; char line[MAXPATHLEN+20]; int cnt = 0; int lineno = 0; ! jlong start = 0, end = 0; int vmType; char *tmpPtr; char *altVMName = NULL; char *serverClassVMName = NULL; static char *whiteSpace = " \t";
< prev index next >