Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6836816

Allow the file specified in the -Xloggc:<file> option to be appended to

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 6u10
    • hotspot
    • x86
    • linux

      A DESCRIPTION OF THE REQUEST :
      The -Xloggc:<file> option provides no way to specify that you would like the given file to be appended to.


      JUSTIFICATION :
      We have a long running process for which we would like to record the GC status. We would like to run logrotate on the file specified in the -Xloggc:<file> option. We would also like logrotate to truncate the file. Currently since the file is not being appended to, truncating the file results in nulls being written to in the beginning of the file.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Provide an option to append.
      ACTUAL -
      The file is never appended to.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: