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

IGV: Add dump_igv(custom_name) for improved debugging

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • hotspot
    • b26

      When debugging, I often add multiple IR dumps throughout the code to capture different states. To do that, I'm just re-using various PHASE_XYZ CompilerPhaseType enum values:

      Compile::current()->print_method(PHASE_END, 3);

      But this becomes confusing when using multiple such enum values and trying to remember what they actually mean. To overcome that, I suggest to introduce a new dump_igv(custom_name) method where custom_name can be an arbitrary string.

            chagedorn Christian Hagedorn
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: