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

Reply via email to