> 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 with a new target base due to a merge or a rebase. The pull request now contains seven commits: - Fix comments - Merge remote-tracking branch 'upstream/master' into JDK-8261710 - Use p_filesz instead of p_memsz - Remove unnecessary code - Fix for OS X - 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=04 Stats: 95 lines in 9 files changed: 56 ins; 13 del; 26 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
