RFR: 8261710: SA DSO objects have sizes that are too large
Yasumasa Suenaga
ysuenaga at openjdk.java.net
Sun Feb 14 13:44:52 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.
-------------
Commit messages:
- Use entire of address range of shared library
- 8261710: SA DSO objects have sizes that are too large
Changes: https://git.openjdk.java.net/jdk/pull/2563/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2563&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8261710
Stats: 49 lines in 5 files changed: 27 ins; 3 del; 19 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