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

Update ClassSize.BYTE_BUFFER for JDK17

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. Java17 Buffer.png
          211 kB
          Yutong Xiao
        2. Java8 Buffer.png
          151 kB
          Yutong Xiao

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment