RFR: 8293170: Improve encoding of the debuginfo nmethod section [v10]

Boris Ulasevich bulasevich at openjdk.org
Tue Nov 15 04:11:39 UTC 2022


> The nmethod "scopes data" section is 10% of the size of nmethod. Now the data is compressed using the Pack200 algorithm, which is good for encoding small integers (LineNumberTable, etc). Using the fact that half of the data in the partition contains zeros, I reduce its size by another 30%.
>  
> Testing: jtreg hotspot&jdk, Renaissance benchmarks

Boris Ulasevich has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 14 additional commits since the last revision:

 - warning fix
 - add test for buffer grow
 - adding jtreg test for CompressedSparseDataReadStream impl
 - align java impl to cpp impl
 - rewrite the SparseDataWriteStream not to use _curr_byte
 - introduce and call flush() excplicitly, add the gtest
 - minor renaming. adding encoding examples table
 - cleanup and rename
 - cleanup
 - rewrite code without virtual functions
 - ... and 4 more: https://git.openjdk.org/jdk/compare/256958bf...3ceefe68

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/10025/files
  - new: https://git.openjdk.org/jdk/pull/10025/files/e5f03dda..3ceefe68

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10025&range=09
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10025&range=08-09

  Stats: 64600 lines in 1035 files changed: 21920 ins; 38055 del; 4625 mod
  Patch: https://git.openjdk.org/jdk/pull/10025.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10025/head:pull/10025

PR: https://git.openjdk.org/jdk/pull/10025


More information about the hotspot-compiler-dev mailing list