Integrated: 8261710: SA DSO objects have sizes that are too large

Yasumasa Suenaga ysuenaga at openjdk.java.net
Tue Mar 2 06:59:40 UTC 2021


On Sun, 14 Feb 2021 07:14:24 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 3b350ad8
Author:    Yasumasa Suenaga <ysuenaga at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/3b350ad8
Stats:     95 lines in 9 files changed: 56 ins; 13 del; 26 mod

8261710: SA DSO objects have sizes that are too large

Reviewed-by: sspitsyn, cjplummer

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

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


More information about the serviceability-dev mailing list