RFR: 8261710: SA DSO objects have sizes that are too large [v4]
Yasumasa Suenaga
ysuenaga at openjdk.java.net
Wed Feb 17 06:28:09 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:
Use p_filesz instead of p_memsz
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/2563/files
- new: https://git.openjdk.java.net/jdk/pull/2563/files/c9a34723..033e096e
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2563&range=03
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2563&range=02-03
Stats: 28 lines in 1 file changed: 10 ins; 10 del; 8 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