Details

      Description

      When I profile compaction in 2.1, I find the isEOF() is an expensive operation, and we do the check for each read in RAR, which I think is unnecessary.

      I attach a patch to only check isEOF() when we need to rebuffer, and then I do not see it from hotspot.

        Attachments

          Activity

            People

            • Assignee:
              dikanggu Dikang Gu
              Reporter:
              dikanggu Dikang Gu
              Authors:
              Dikang Gu
              Reviewers:
              Stefania
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: