Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26392

Update ClassSize.BYTE_BUFFER for JDK17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0, 3.0.0-alpha-2, 2.4.8
    • java, util
    • None
    • Reviewed

    Description

      In JDK17, the implement of Buffer.java is changed a little, which makes the heapsize of BYTE_BUFFER different as earlier JDK. This makes related UTs fail.

      Attachments

        1. Java8 Buffer.png
          151 kB
          Yutong Xiao
        2. Java17 Buffer.png
          211 kB
          Yutong Xiao

        Issue Links

          Activity

            People

              xytss123 Yutong Xiao
              xytss123 Yutong Xiao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: