You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Ivanov (JIRA)" <ji...@apache.org> on 2007/03/16 11:10:09 UTC

[jira] Created: (HARMONY-3409) [drlvm][options] help on 'internal system property' should be available from command line

[drlvm][options] help on 'internal system property' should be available from command line
-----------------------------------------------------------------------------------------

                 Key: HARMONY-3409
                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Vladimir Ivanov
            Priority: Minor


Help on 'internal system property' should be available from command line. 
Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
Some commands were tried:
>java.exe -help
>java.exe -help properties
>java.exe -X
>java.exe -XX 
but no one say about it.

Execution log:
>java -help
Usage: java [-options] class [args...]
        (to execute a method main() of the class)
    or java [-options] -jar jarfile [args...]
        (to execute the jar file)

where options include:
    -classpath <class search path of directories and zip/jar files>
    -cp        <class search path of directories and zip/jar files>
                  A ';' separated list of directories, jar archives,
                  and zip archives to search for class file
    -D<name>=<value>
                  set a system property
    -showversion  print product version and continue
    -version      print product version and exit
    -verbose[:class|:gc|:jni]
                  enable verbose output
    -agentlib:<library name>[=<agent options>]
                  load JVMTI agent library, library name is platform independent
    -agentpath:<library name>[=<agent options]
                  load JVMTI agent library, library name is platform dependent
    -verify
                  do full bytecode verification
    -noverify
                  do no bytecode verification
    -enableassertions[:<package>...|:<class>]
    -ea[:<package>...|:<class>]
                  enable assertions
    -disableassertions[:<package>...|:<class>]
    -da[:<package>...|:<class>]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -? -help      print this help message
    -help properties
                  help on system properties
    -X            print help on non-standard options

>java -help properties
Usage: java [-options] class [args...]
        (to execute a method main() of the class)
    or java [-options] -jar jarfile [args...]
        (to execute the jar file)

where options include:
    -classpath <class search path of directories and zip/jar files>
    -cp        <class search path of directories and zip/jar files>
                  A ';' separated list of directories, jar archives,
                  and zip archives to search for class file
    -D<name>=<value>
                  set a system property
    -showversion  print product version and continue
    -version      print product version and exit
    -verbose[:class|:gc|:jni]
                  enable verbose output
    -agentlib:<library name>[=<agent options>]
                  load JVMTI agent library, library name is platform independent
    -agentpath:<library name>[=<agent options]
                  load JVMTI agent library, library name is platform dependent
    -verify
                  do full bytecode verification
    -noverify
                  do no bytecode verification
    -enableassertions[:<package>...|:<class>]
    -ea[:<package>...|:<class>]
                  enable assertions
    -disableassertions[:<package>...|:<class>]
    -da[:<package>...|:<class>]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -? -help      print this help message
    -help properties
                  help on system properties
    -X            print help on non-standard options

>java -X
    -Xbootclasspath:<PATH>
              Set bootclasspath to the specified value
    -Xbootclasspath/a:<PATH>
              Append specified directories and files to bootclasspath
    -Xbootclasspath/p:<PATH>
              Prepend specified directories and files to bootclasspath
    -Xjit <JIT options>
              Specify JIT specific options
    -Xms<size>
              Set Java heap size
    -Xmx<size>
              Set maximum Java heap size
    -Xdebug
              Does nothing, this is a compatibility option
    -Xnoagent
              Does nothing, this is a compatibility option
    -Xrun
              Specify debugger agent library
    -Xverbose[:<category>[:<file>]
              Switch logging on [for specified category only
              [and log that category to a file]]
    -Xwarn[:<category>[:<file>]
              Switch verbose logging off [for specified category only
              [and log that category to a file]]
    -Xverboseconf:<file>
              Set up logging via log4cxx configuration file
    -Xverboselog:<file>
              Log verbose output to a file
    -Xverify[:none|all]
              Do full bytecode verification
    -Xinvisible
              Retain invisible annotations at runtime
    -Xfileline
              Add source information to logging messages
    -Xthread
              Add thread id to logging messages
    -Xcategory
              Add category name to logging messages
    -Xtimestamp
              Add timestamp to logging messages
    -Xfunction
              Add function signature to logging messages

    -Xlog[:<category>[:<file>]
              Switch debug logging on [for specified category only
              [and log that category to a file]]
    -Xtrace[:<category>[:<file>]
              Switch trace logging on [for specified category only
              [and log that category to a file]]

    -Xstats:<mask>
              Generates different statistics

    -Xint
              Use interpreter to execute the program
    -Xgc:<gc options>
              Specify gc specific options
    -Xem:<em options>
              Specify em specific options
    -Xdumpstubs
              Writes stubs generated by LIL to disk
    -Xparallel_jit
              Launch compilation in parallel (default)
    -Xno_parallel_jit
              Do not launch compilation in parallel
    -Xdumpfile:<file>
              Specifies a file name for the dump
    -XX:<name>=<value>
              set an internal system property

>java -XX
Unknown option -XX

Use java -help to get help on command line options



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3409) [drlvm][init] help on 'internal system property' should be available from command line

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky updated HARMONY-3409:
---------------------------------------

    Summary: [drlvm][init] help on 'internal system property' should be available from command line  (was: [drlvm][options] help on 'internal system property' should be available from command line)

> [drlvm][init] help on 'internal system property' should be available from command line
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Priority: Minor
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3409) [drlvm][init] help on 'internal system property' should be available from command line

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Beliaev updated HARMONY-3409:
--------------------------------------

    Attachment: H3409.patch

Ok, I redo the patch a bit... Please use this recent version...

As was mentioned before there is "text duplication" while using LECHO - 1 striing is located in parse_arguments.cpp & duplicating string is located in harmony.properties resource file. 

In fact a first string is never used (removing harmony.properties is "breaking drlvm configuration")... Another option is when harmoby.properties is localized incorrectly (some of string resources are missed) - but it is a localization bug which is to be reported but not workarounded...

So I've removed the first pack of help strings (from parse_arguments.cpp) after merging these strings with ones in harmoby.properties. Instead, parse_arguments.cpp contains the string like "Internal error - missed string resource".

> [drlvm][init] help on 'internal system property' should be available from command line
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: H3409.patch, H3409.patch
>
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3409) [drlvm][init] help on 'internal system property' should be available from command line

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506219 ] 

Vladimir Beliaev commented on HARMONY-3409:
-------------------------------------------

So, there are two issues here:

1. add command line support for '-help properties' or/and '-Xhelp:props' 

2. update 'print_vm_standard_properties' implementation.

Resolving a second issue seems to be not a big deal. Still I propose to remove the notion of propserties which should not be set from command line (they are to be placed in Dev Guide) + those properties which require deep understanding of scope (like jitrino options).

And first issue (support for '-help properties' or/and '-Xhelp:props') can't be solved w/o making 'generic launcher' (from 'classlib') to be DRLVM specific. Because: 
- this generic launcher calls to JNI_CreateJavaVM if 'mainClass' is set or "help option" is defined
- the standard (generic) (supported by other VMs) "help options" are: ? -h -help -X
- JNI_CreateJavaVM does not accept 'mainClass'
- JNI_CreateJavaVM implemetation recognize "help option", prints a help & exits with '0'
- the launcher does not do a "main method invocation" after JNI_CreateJavaVM if 'mainClass' is NULL

So, if '-help properties' is defined in command line then the laucher considers 'properties' as 'mainClass', so only '-help' is passed to JNI_CreateJavaVM (no way to recognize it is '-help properties' but not just a '-help' case).

If '-Xhelp:prop' is defined in command line then the launcher does not recognize it is a 'help option' (it knows the standard ones only), looks for 'mainClass', does not find 'mainClass' & reports "wrong command line' w/o calling to JNI_CreateJavaVM...

The solution here is to make the launcher to recognize '-Xhelp:prop'  as 'help option' but I think this would make this laucnher to have some DRLVM specific...

> [drlvm][init] help on 'internal system property' should be available from command line
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Priority: Minor
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3409) [drlvm][init] help on 'internal system property' should be available from command line

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506220 ] 

Vladimir Beliaev commented on HARMONY-3409:
-------------------------------------------

One more solution is to creare a 'DRLVM options" documentation page at harmony.apache.org & provide the link as part of help output from '-X' option... I'm going to discuss this on dev-list...

> [drlvm][init] help on 'internal system property' should be available from command line
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Priority: Minor
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3409) [drlvm][init] help on 'internal system property' should be available from command line

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507206 ] 

Vladimir Beliaev commented on HARMONY-3409:
-------------------------------------------

There is a mail thread on dev-list discussing the possible solutions:

http://mail-archives.apache.org/mod_mbox/harmony-dev/200706.mbox/%3c587698b80706200231s6581d426qadebc3b25fbe7385@mail.gmail.com%3e

The current decision is to keep system properties help at web pache on harmony.apache.org. There is such a page already:
http://wiki.apache.org/harmony/DrlvmCommandLineOptions

Still (according to decisiosn) it is to be moved to static html page (from Wiki):
http://harmony.apache.org/cmd_options.html

Thanks
Vladimir Beliaev

> [drlvm][init] help on 'internal system property' should be available from command line
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Priority: Minor
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-3409) [drlvm][init] help on 'internal system property' should be available from command line

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky closed HARMONY-3409.
--------------------------------------


VERIFIED

> [drlvm][init] help on 'internal system property' should be available from command line
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: H3409.patch, H3409.patch
>
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3409) [drlvm][init] help on 'internal system property' should be available from command line

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Beliaev updated HARMONY-3409:
--------------------------------------

    Attachment: H3409.patch

Ok, here is the patch which:

- removed '-Xhelp:prop*' option processing - this a dead code 
- removed '-help properties' notion from 'help output' - this options do not worh either
- cleaned up 'print_help_on_nonstandard_options' function based on list of currently 
  supported options (removed -Xjit & extended "wgat way a boolean property can be set)
- removed "print_vm_standard_properties" - the related content is available on web page now
- updated harmony.properties - the help text is ducplicated on both paser_arguments.cpp & this file

Thanks
Vladimir Beliaev

> [drlvm][init] help on 'internal system property' should be available from command line
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Priority: Minor
>         Attachments: H3409.patch
>
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3409) [drlvm][init] help on 'internal system property' should be available from command line

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507832 ] 

Vladimir Ivanov commented on HARMONY-3409:
------------------------------------------

It looks fine for me.

> [drlvm][init] help on 'internal system property' should be available from command line
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: H3409.patch, H3409.patch
>
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3409) [drlvm][options] help on 'internal system property' should be available from command line

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481560 ] 

Alexey Varlamov commented on HARMONY-3409:
------------------------------------------

Hmm, looking into the source code, the cmd is "-Xhelp:prop*". Surprise!

> [drlvm][options] help on 'internal system property' should be available from command line
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Priority: Minor
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3409) [drlvm][options] help on 'internal system property' should be available from command line

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481594 ] 

Vladimir Ivanov commented on HARMONY-3409:
------------------------------------------

OK, then add it to the '-X' help.

> [drlvm][options] help on 'internal system property' should be available from command line
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Priority: Minor
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3409) [drlvm][init] help on 'internal system property' should be available from command line

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506208 ] 

Vladimir Beliaev commented on HARMONY-3409:
-------------------------------------------

The affected DRLVM file is: <trunk>/working_vm/vm/vmcore/src/init/parse_arguments.cpp:

line 129-130:
        "    -help properties\n"
        "                  help on system properties\n"

       (so 'java -help properties' command line was supposed to be supported...)

line 376-386:
        else if (begins_with(option, "-Xhelp:")) {
        ...
            if (begins_with(arg, "prop")) {

       (so 'java -Xhelp:properties' command line was supposed to be supported...)

line 221:
        void print_vm_standard_properties()

       (this method is implement but it has problems - some properties description are out of date, some properties should not be used by customers [like 'vm.jvmti.enabled' should not be set from command line]).

> [drlvm][init] help on 'internal system property' should be available from command line
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Priority: Minor
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3409) [drlvm][init] help on 'internal system property' should be available from command line

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky updated HARMONY-3409:
---------------------------------------

    Patch Info: [Patch Available]
      Assignee: Gregory Shimansky

> [drlvm][init] help on 'internal system property' should be available from command line
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: H3409.patch
>
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-3409) [drlvm][init] help on 'internal system property' should be available from command line

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky resolved HARMONY-3409.
----------------------------------------

    Resolution: Fixed

Patch applied at 549855. Please check that it was applied as expected.

> [drlvm][init] help on 'internal system property' should be available from command line
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3409
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3409
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: H3409.patch, H3409.patch
>
>
> Help on 'internal system property' should be available from command line. 
> Some time ago the option to specify 'system property' was updated but help for this properties was just removed.
> Some commands were tried:
> >java.exe -help
> >java.exe -help properties
> >java.exe -X
> >java.exe -XX 
> but no one say about it.
> Execution log:
> >java -help
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -help properties
> Usage: java [-options] class [args...]
>         (to execute a method main() of the class)
>     or java [-options] -jar jarfile [args...]
>         (to execute the jar file)
> where options include:
>     -classpath <class search path of directories and zip/jar files>
>     -cp        <class search path of directories and zip/jar files>
>                   A ';' separated list of directories, jar archives,
>                   and zip archives to search for class file
>     -D<name>=<value>
>                   set a system property
>     -showversion  print product version and continue
>     -version      print product version and exit
>     -verbose[:class|:gc|:jni]
>                   enable verbose output
>     -agentlib:<library name>[=<agent options>]
>                   load JVMTI agent library, library name is platform independent
>     -agentpath:<library name>[=<agent options]
>                   load JVMTI agent library, library name is platform dependent
>     -verify
>                   do full bytecode verification
>     -noverify
>                   do no bytecode verification
>     -enableassertions[:<package>...|:<class>]
>     -ea[:<package>...|:<class>]
>                   enable assertions
>     -disableassertions[:<package>...|:<class>]
>     -da[:<package>...|:<class>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
>     -? -help      print this help message
>     -help properties
>                   help on system properties
>     -X            print help on non-standard options
> >java -X
>     -Xbootclasspath:<PATH>
>               Set bootclasspath to the specified value
>     -Xbootclasspath/a:<PATH>
>               Append specified directories and files to bootclasspath
>     -Xbootclasspath/p:<PATH>
>               Prepend specified directories and files to bootclasspath
>     -Xjit <JIT options>
>               Specify JIT specific options
>     -Xms<size>
>               Set Java heap size
>     -Xmx<size>
>               Set maximum Java heap size
>     -Xdebug
>               Does nothing, this is a compatibility option
>     -Xnoagent
>               Does nothing, this is a compatibility option
>     -Xrun
>               Specify debugger agent library
>     -Xverbose[:<category>[:<file>]
>               Switch logging on [for specified category only
>               [and log that category to a file]]
>     -Xwarn[:<category>[:<file>]
>               Switch verbose logging off [for specified category only
>               [and log that category to a file]]
>     -Xverboseconf:<file>
>               Set up logging via log4cxx configuration file
>     -Xverboselog:<file>
>               Log verbose output to a file
>     -Xverify[:none|all]
>               Do full bytecode verification
>     -Xinvisible
>               Retain invisible annotations at runtime
>     -Xfileline
>               Add source information to logging messages
>     -Xthread
>               Add thread id to logging messages
>     -Xcategory
>               Add category name to logging messages
>     -Xtimestamp
>               Add timestamp to logging messages
>     -Xfunction
>               Add function signature to logging messages
>     -Xlog[:<category>[:<file>]
>               Switch debug logging on [for specified category only
>               [and log that category to a file]]
>     -Xtrace[:<category>[:<file>]
>               Switch trace logging on [for specified category only
>               [and log that category to a file]]
>     -Xstats:<mask>
>               Generates different statistics
>     -Xint
>               Use interpreter to execute the program
>     -Xgc:<gc options>
>               Specify gc specific options
>     -Xem:<em options>
>               Specify em specific options
>     -Xdumpstubs
>               Writes stubs generated by LIL to disk
>     -Xparallel_jit
>               Launch compilation in parallel (default)
>     -Xno_parallel_jit
>               Do not launch compilation in parallel
>     -Xdumpfile:<file>
>               Specifies a file name for the dump
>     -XX:<name>=<value>
>               set an internal system property
> >java -XX
> Unknown option -XX
> Use java -help to get help on command line options

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.