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

Zero: purge biased locking support

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 16
    • 8, 11, 15, 16
    • hotspot
    • b26

    Description

      Biased locking support was always disabled for C++ interpreter. Zero seems to have inherited that, see block in arguments.cpp:

      #ifdef ZERO
        // Clear flags not supported on zero.
        FLAG_SET_DEFAULT(ProfileInterpreter, false);
        FLAG_SET_DEFAULT(UseBiasedLocking, false);
        LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedOops, false));
        LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedClassPointers, false));
      #endif // ZERO

      But zero/bytecodeInterpreter.cpp still has paths that imply biased locking support. Seeing that biased locking can go away, and the cost/benefit balance of supporting it in Zero, it makes more sense to purge the long-time-disabled biased locking support from Zero.

      Attachments

        Issue Links

          Activity

            People

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: