8173941 Re: SA does not work if executable is DSO

Yasumasa Suenaga yasuenag at gmail.com
Fri Feb 10 03:13:36 UTC 2017


Hi Andrew,

We can calculate start address of executable (java command) through entry
point.
I updated webrev:

  http://cr.openjdk.java.net/~ysuenaga/JDK-8173941/webrev.01/

This patch can ignore page size.


Thanks,

Yasumasa


2017-02-10 7:53 GMT+09:00 Yasumasa Suenaga <yasuenag at gmail.com>:

> On 2017/02/10 1:04, Andrew Haley wrote:
>
>> On 09/02/17 14:57, Yasumasa Suenaga wrote:
>>
>>> So I think we can use sysconf(3) to get page size.
>>>
>>
>> In OpenJDK code we should use os::vm_page_size() for the physical page
>> size.
>>
>
> SA is not part of HotSpot (not in libjvm).
> Thus SA cannot access HotSpot internal function.
>
> Andrew.
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20170210/80e3b708/attachment.html>


More information about the serviceability-dev mailing list