G1: extend asserts / guarantees with format strings

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P4
    • tbd
    • Affects Version/s: hs18
    • Component/s: hotspot
    • gc
    • generic
    • generic

      John Coomes recently pushed 6888954 which extends HotSpot's assert / guarantee macros to allow format strings so that we can print out the contents of variables, fields, etc. when an assert / guarantee fails.

      We should put some effort into G1 to extend all our asserts / guarantees to print out all the values involved in the asserts / guarantees, when they fail, to facilitate our debugging and reduce the need to have to essentially add that code manually every time we chase such a failure.

            Assignee:
            Unassigned
            Reporter:
            Tony Printezis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: