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

AARCH64: assertion fail with -XX:+UseG1GC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Withdrawn
    • Icon: P4 P4
    • 8u60
    • 8u60
    • hotspot
    • None
    • gc

        This is a trivial coding error.

        Register::bit(bool) returns a bit (intended for a bitmask) for a
        register. The passed bool indicates whether the bit should be set.
        When the bool is false we should not call encoding() to check the
        register's validity: we should return 0. Otherwise, a debug build
        generates an assertion failure because the encoding of noreg is
        invalid.

              aph Andrew Haley
              aph Andrew Haley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: