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

AArch64: Wrong macro check in SharedRuntime::generate_deopt_blob

    XMLWordPrintable

Details

    • b17
    • aarch64
    • generic

    Backports

      Description

        In SharedRuntime::generate_deopt_blob, there is following assertion code:

        2279 #ifdef ASSERT0
        2280 { Label L;
        2281 __ ldr(rscratch1, Address(rthread,
        2282 JavaThread::last_Java_fp_offset()));
        2283 __ cbz(rscratch1, L);
        2284 __ stop("SharedRuntime::generate_deopt_blob: last_Java_fp not cleared");
        2285 __ bind(L);
        2286 }
        2287 #endif // ASSERT

        We check macro 'ASSERT0' at line 2279, which is wrong.
        The correct macro name here should be 'ASSERT'.

        Attachments

          Issue Links

            Activity

              People

                fyang Fei Yang
                fyang Fei Yang
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: