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

Remove referent checks from compiled unsafe intrinsics

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 12
    • hotspot

      Our compilers insert runtime-checks to check if G1 pre barriers are needed when accessing referent fields through the unsafe API. But then again, using unsafe is unsafe as the name suggests, and there were never any guarantees that this should work. I suggest removing these checks to simplify the code and increase performance for the common case.

            eosterlund Erik Ă–sterlund
            eosterlund Erik Ă–sterlund
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: