[aarch64-port-dev ] Java callstacks are truncated in perf on aarch64

Sanket Tavarageri tavarageri at reservoir.com
Wed May 13 21:32:44 UTC 2015


Hi Ed,

When I try to apply this patch on changeset 8299 of hotspot, I get the
following error:

"<path>/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/SharedHeap.java:56:
error: cannot find symbol
    return CollectedHeapName.SHARED_HEAP;
                            ^
  symbol:   variable SHARED_HEAP
  location: class CollectedHeapName
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
"

Am I applying the patch on the correct version of sources? (I tried against
15-04 also and tip -- both didn't work).

Thanks,
Sanket

On Tue, May 12, 2015 at 11:47 AM, Edward Nevill <edward.nevill at linaro.org>
wrote:

> On Wed, 2015-05-06 at 11:10 +0000, Alexeev, Alexander wrote:
> > Hello
> >
> > I've tried to collect call stacks for JDK release 1504 available from
> Linaro, it must be almost tip (build
> 1.9.0-internal-ed_2015_05_01_13_39-b00). Traces collected with this version
> are truncated.
> > Significant part of them is lost now. Seems the only one java method is
> resolved in the trace. What might be wrong?
> > I didn't find option such option as PreserveFramePointer available yet,
> and anyway not sure if it helps on aarch64
>
> Hi Alexander,
>
> I have created a webrev which allows the use of -XX:+PreserveFramePointer
> on aarch64
>
> http://cr.openjdk.java.net/~enevill/8079564/webrev.00/
>
> Could you try again with this webrev applied and using the option
> -XX:+PreserveFramePointer and let me know if the call traces are any better
> now.
>
> Thanks,
> Ed.
>
>
>


More information about the aarch64-port-dev mailing list