Re: Fwd: PowerPC issue: Some JVMTI dynamic code generated events have code size of zero

2014-07-07 Thread Maynard Johnson
;> >> Regards, >> Volker >> >> PS: really great to see that somebody is working on oprofile/OpenJDK >> integration! >> >> >> On Wed, Jul 2, 2014 at 6:28 PM, Daniel D. Daugherty >> wrote: >>> Adding the Servicea

Re: Fwd: PowerPC issue: Some JVMTI dynamic code generated events have code size of zero

2014-07-07 Thread Maynard Johnson
the attached > patch to work around the problem. Thanks. The patch does indeed resolve the problem. Now oprofile can properly handle the JVMTI events and can also resolve samples in JITed code to the associated Java methods. :-) -Maynard > > Regards, > Volker > > > On Mo

Re: PowerPC: core file option not available with serviceability tools

2014-07-09 Thread Maynard Johnson
quot; > > Now all the Linux/PPC64 specific class under > hotspot/agent/src/share/classes/ would have to be implemented (e.g. > sun/jvm/hotspot/runtime/amd64/AMD64CurrentFrameGuess). Are you > interested in contributing to this project? > > Regards, > Volker > > PS: I

Re: Fwd: PowerPC issue: Some JVMTI dynamic code generated events have code size of zero

2014-07-30 Thread Maynard Johnson
the attached > patch to work around the problem. Hi, Volker, Just checking on the status of this bug. Thanks. -Maynard > > Regards, > Volker > > > On Mon, Jul 7, 2014 at 4:18 PM, Maynard Johnson wrote: >> On 07/02/2014 01:21 PM, Volker Simonis wrote: >>>

Problem generating C header file for Hotspot debugger PPC64ThreadContext class

2014-08-07 Thread Maynard Johnson
Hi, all, I've begun adding ppc64 support for the serviceability tools that take a java core file as input (jmap, jstack). See my original July 3 posting to ppc-aix-port-dev (subject "PowerPC: core file option not available with serviceability tools") for reference. I've created a number of new

Re: PowerPC: core file option not available with serviceability tools

2014-09-29 Thread Maynard Johnson
On 07/09/2014 12:38 PM, Volker Simonis wrote: > On Wed, Jul 9, 2014 at 3:45 PM, Maynard Johnson wrote: >> On 07/04/2014 10:59 AM, Volker Simonis wrote: >>> Hi Maynard, >>> >>> we (i.e. SAP) do not currently support the SA agent on Linux/PPC64 and >>>

Re: PowerPC: core file option not available with serviceability tools

2014-10-07 Thread Maynard Johnson
think the code should be: this.pc = raw_fp.getAddressAt(VM.getVM().getAddressSize()); I hope you can help set me on the right track. As you can see, I'm lost in the weeds right now. :-) -Maynard > > Regards, > Volker > > > On Tue, Sep 30, 2014 at 12:42 AM, May

Re: PowerPC: core file option not available with serviceability tools

2014-11-14 Thread Maynard Johnson
On 10/07/2014 08:35 AM, Maynard Johnson wrote: > On 10/07/2014 03:58 AM, Volker Simonis wrote: >> Hi Maynard, >> >> I'm now back from JavaOne and can look at this issue. Could you please >> share your current implementation so I can reproduce your problem more >&

[PATCH RFC 0/2] Add linux/ppc64 support for Hotspot serviceability agent to read core files

2014-11-14 Thread Maynard Johnson
When Hotspot SA tools jmap, jstack, and jsadebugd are run against a core file, they fail with the following runtime exception: OS/CPU combination linux/ppc64 not yet supported I will post a patch set that adds this support. The patch set consists of the following patches: PATCH 1/2: Upda

PATCH 1/2: Updates to non-Java files to support linux/ppc64 Hotspot SA with core files

2014-11-14 Thread Maynard Johnson
This patch updates some build files and C/C++ files to enable the PPC64 Serviceability agent code in patch 2/2. Signed-off-by: Maynard Johnson Index: jdk9-dev/hotspot/agent/make/Makefile === --- jdk9-dev.orig/hotspot/agent/make

PATCH 2/2: New PPC64 class files (and updates to generic files) to support linux/ppc64 Hotspot SA with core files

2014-11-14 Thread Maynard Johnson
pport. Going along with what appears to be tradition, the new PPC64 files have the Oracle copyright statement instead of an IBM copyright, since much of the code in these files was copied over from the x86 versions. Signed-off-by: Maynard Johnson Index: jdk9-dev/hotspot/agent/src/share/classe

Re: [PATCH RFC 0/2] Add linux/ppc64 support for Hotspot serviceability agent to read core files

2014-11-17 Thread Maynard Johnson
; > > I will create the bugs and have look at the changes on monday. > > Regards, > Volker > > > Thanks, > Vladimir > > On 11/14/14 10:09 AM, Maynard Johnson wrote: > > When Hotspot SA tools jmap, jstack, and jsadebugd are run a

Re: [PATCH RFC 0/2] Add linux/ppc64 support for Hotspot serviceability agent to read core files

2014-11-17 Thread Maynard Johnson
ned. First I > didn't saw any frame at all which confused me but then I also saw the > two cases mentioned by you. I'll need to have a closer look what > happens. I was just running the 'test' java app and, in another session, killing it with SIGSEGV. To be honest, I wasn&

Re: [PATCH RFC 0/2] Add linux/ppc64 support for Hotspot serviceability agent to read core files

2014-11-17 Thread Maynard Johnson
On 11/17/2014 01:21 PM, Volker Simonis wrote: > On Mon, Nov 17, 2014 at 6:59 PM, Maynard Johnson wrote: >> On 11/17/2014 10:20 AM, Volker Simonis wrote: >>> Hi Maynard, >>> >>> I'm currently looking at your changes. At first glance they look good. >

Re: [PATCH RFC 0/2] Add linux/ppc64 support for Hotspot serviceability agent to read core files

2014-11-20 Thread Maynard Johnson
gt; C frame (sp=0x3fffb66ddad0 unextended sp=0x3fffb66ddad0, >> fp=0x3fffb66ddc60, real_fp=0x00003fffb66ddc60, >> pc=0x167c) >> 1 - frame( sp=0x3fffb66ddc60, unextended_sp=0x3fffb66ddc60, >> fp=0x3fffb66ddd60, pc=0x3fffa0159d58) >>

Re: [PATCH RFC 0/2] Add linux/ppc64 support for Hotspot serviceability agent to read core files

2014-12-03 Thread Maynard Johnson
2014 at 12:40 AM, Maynard Johnson wrote: >> On 12/01/2014 05:16 PM, Maynard Johnson wrote: >>> On 11/25/2014 12:40 PM, Volker Simonis wrote: >>>> Hi Maynard, >>>> >>>> so here finally comes my version of your change. I've tested 'jstack'

Re: [PATCH RFC 0/2] Add linux/ppc64 support for Hotspot serviceability agent to read core files

2014-12-03 Thread Maynard Johnson
On 12/03/2014 02:40 AM, Volker Simonis wrote: > On Tue, Dec 2, 2014 at 9:50 PM, Maynard Johnson wrote: >> On 12/02/2014 11:45 AM, Volker Simonis wrote: >>> Hi Maynard, >>> >>> did you intentionally answered only to me or can we take the discussion >>>

Re: [PATCH RFC 0/2] Add linux/ppc64 support for Hotspot serviceability agent to read core files

2014-12-03 Thread Maynard Johnson
On 12/03/2014 12:33 PM, Maynard Johnson wrote: > On 12/03/2014 02:40 AM, Volker Simonis wrote: >> On Tue, Dec 2, 2014 at 9:50 PM, Maynard Johnson wrote: >>> In the approximate 10 times that I re-ran my test with the "-XX:-Inline" >>> (sometimes killi

Re: [PATCH RFC 0/2] Add linux/ppc64 support for Hotspot serviceability agent to read core files

2014-12-04 Thread Maynard Johnson
On 12/04/2014 02:20 AM, Volker Simonis wrote: > On Wed, Dec 3, 2014 at 7:55 PM, Maynard Johnson wrote: >> On 12/03/2014 12:33 PM, Maynard Johnson wrote: >>> On 12/03/2014 02:40 AM, Volker Simonis wrote: >>>> On Tue, Dec 2, 2014 at 9:50 PM, Maynard Johnson >>&

Re: RFR(L): 8049716: PPC64: Implement SA on Linux/PPC64

2014-12-04 Thread Maynard Johnson
Dec 4, 2014 at 9:50 AM, Volker Simonis > wrote: >> Hi, >> >> I'd like to submit this webrev which adds support for the SA agent on >> Linux/PPC64 on behalf of Maynard Johnson who is the main author of the >> change: >> >> http://cr.openjdk.java.net/~sim

Re: RFR(L): 8049716: PPC64: Implement SA on Linux/PPC64

2014-12-05 Thread Maynard Johnson
quot;sun.cpu.endian")); Right. A silly piece of coding there. :-/ -Maynard > > > On Thu, Dec 4, 2014 at 3:43 PM, Maynard Johnson wrote: >> On 12/04/2014 01:15 PM, Alexander Smundak wrote: >>> The changes for agent/src/os/linux/symtab.c >>> b/agent/src/os/linu

Re: A hotspot patch for stack profiling (frame pointer)

2014-12-08 Thread Maynard Johnson
On 12/05/2014 05:09 PM, Brendan Gregg wrote: > G'Day Volker, > > On Fri, Dec 5, 2014 at 11:22 AM, Volker Simonis > wrote: >> Hi Brendan, >> >> I'm still not understanding who is taking the actual stack traces (let >> alone the symbols) in your examples. Is this done by 'perf' itself >> based only

Re: RFR(L): 8049716: PPC64: Implement SA on Linux/PPC64

2014-12-16 Thread Maynard Johnson
>> The shared changes are really all trivial. >> >> Thanks, >> Volker >> >> >> On Fri, Dec 5, 2014 at 4:01 PM, Volker Simonis >> wrote: >>> Hi Sasha, >>> >>> thanks for looking at this change. >>> I'll incorp