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

G1: extend asserts / guarantees with format strings

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • tbd
    • hs18
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: