Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3770

Replace GarbageCollectionLogger with JVM provided GC stats

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • None
    • None
    • tserver
    • None

    Description

      Hotspot provides some JVM opts that can be enabled which will print out status messages for garbage collection:

      -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -verbose:gc

      TabletServers have the GarbageCollectionLogger doing its own inspection of heap usage via Runtime and also tracking the real interval between calls to itself WRT the expected interval (to try to guess if there are issues getting resources to run code).

      As long as openjdk has support for the same options, I think removing the heap inspection would be good. Do we still want to preserve the "timeliness" check though? I'm not sure how valuable it is in real environments.

      Thoughts?

      Attachments

        Activity

          People

            Unassigned Unassigned
            elserj Josh Elser
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: