8173941 Re: SA does not work if executable is DSO

2017-02-08 Thread Andrew Haley
Okay, thanks. The patch will have to be submitted to JDK 9 first and then back- ported to earlier releases. Unfortunately it doesn't work on JDK 9. I don't know why: I spent some time looking at it, but I couldn't figure out what was wrong. Is there any way you could have a look? This is using

Re: 8173941 Re: SA does not work if executable is DSO

2017-02-08 Thread Yasumasa Suenaga
Hi Andrew, I could reproduce it in my environment. * libsaproc debug ``` libsaproc DEBUG: address of _DYNAMIC is 0x563bc6dd8d28 ``` * Address of .dynamic in GDB ``` 0x563bc6dd7d28 - 0x563bc6dd7f68 is .dynamic ``` It differs 1 page (0x1000). In this case, according to GDB, `jav

Re: 8173941 Re: SA does not work if executable is DSO

2017-02-08 Thread Andrew Haley
On 08/02/17 14:21, Yasumasa Suenaga wrote: > It differs 1 page (0x1000). > In this case, according to GDB, `java` was loaded 0x563bc6dd7000. > According to readelf of `java`, offset of dynamic section is 0x1d28. > So I want to investigate why we found 1 memory page difference. > (Is it caused by AS