RFR: 8261710: SA DSO objects have sizes that are too large [v2]

Yasumasa Suenaga ysuenaga at openjdk.java.net
Tue Feb 16 08:06:02 UTC 2021


> This PR relates to [JDK-8261702](https://bugs.openjdk.java.net/browse/JDK-8261702) ( #2562 )
> When SA creates a DSO object, which is used to represent a shared object file (.so), it initializes the "size" to be the size of the shared object file. This usually results in the size being too big. This can cause SA to get confused about whether or not an address is in the shared object. SA should instead set the DSO's size to the amount of the file that is actually mapped for executable code.

Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:

  Fix for OS X

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2563/files
  - new: https://git.openjdk.java.net/jdk/pull/2563/files/9af4e232..b33398ea

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2563&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2563&range=00-01

  Stats: 35 lines in 7 files changed: 19 ins; 2 del; 14 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2563.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2563/head:pull/2563

PR: https://git.openjdk.java.net/jdk/pull/2563


More information about the serviceability-dev mailing list