src/os/solaris/launcher/java_md.h

Fri, 27 Feb 2009 13:27:09 -0800

author
twisti
date
Fri, 27 Feb 2009 13:27:09 -0800
changeset 1040
98cb887364d3
parent 435
a61af66fc99e
child 1907
c18cbe5936b8
permissions
-rw-r--r--

6810672: Comment typos
Summary: I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never

     1 /*
     2  * Copyright 1998-2005 Sun Microsystems, Inc.  All Rights Reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     8  *
     9  * This code is distributed in the hope that it will be useful, but WITHOUT
    10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    12  * version 2 for more details (a copy is included in the LICENSE file that
    13  * accompanied this code).
    14  *
    15  * You should have received a copy of the GNU General Public License version
    16  * 2 along with this work; if not, write to the Free Software Foundation,
    17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    18  *
    19  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    20  * CA 95054 USA or visit www.sun.com if you need additional information or
    21  * have any questions.
    22  *
    23  */
    25 /*
    26  * Gamma (Hotspot internal engineering test) launcher based on 1.6.0-b28 JDK,
    27  * search "GAMMA" for gamma specific changes.
    28  */
    30 #ifndef JAVA_MD_H
    31 #define JAVA_MD_H
    33 #include <limits.h>
    34 #include <unistd.h>
    35 #include <sys/param.h>
    36 #ifndef GAMMA
    37 #include "manifest_info.h"
    38 #endif
    40 #define PATH_SEPARATOR          ':'
    41 #define FILESEP                 "/"
    42 #define FILE_SEPARATOR          '/'
    43 #ifndef MAXNAMELEN
    44 #define MAXNAMELEN              PATH_MAX
    45 #endif
    47 #ifdef JAVA_ARGS
    48 /*
    49  * ApplicationHome is prepended to each of these entries; the resulting
    50  * strings are concatenated (separated by PATH_SEPARATOR) and used as the
    51  * value of -cp option to the launcher.
    52  */
    53 #ifndef APP_CLASSPATH
    54 #define APP_CLASSPATH        { "/lib/tools.jar", "/classes" }
    55 #endif
    56 #endif
    58 #ifdef HAVE_GETHRTIME
    59 /*
    60  * Support for doing cheap, accurate interval timing.
    61  */
    62 #include <sys/time.h>
    63 #define CounterGet()              (gethrtime()/1000)
    64 #define Counter2Micros(counts)    (counts)
    65 #else
    66 #define CounterGet()              (0)
    67 #define Counter2Micros(counts)    (1)
    68 #endif /* HAVE_GETHRTIME */
    70 /*
    71  * Function prototypes.
    72  */
    73 #ifndef GAMMA
    74 char *LocateJRE(manifest_info* info);
    75 void ExecJRE(char *jre, char **argv);
    76 #endif
    77 int UnsetEnv(char *name);
    79 #endif

mercurial