From: Daniel H. <dan...@li...> - 2008-04-28 20:10:11
|
Hi, finally we have fixed that 64bit issue that Gisle Dankel has mentioned (and patched) before. Please review my patch and give comments. Kind regards, Daniel John Levon wrote: > On Mon, Apr 28, 2008 at 03:02:13AM +0200, Daniel Hansel wrote: > >> Please review my new patch and give comments. > > So I tried it out, but it doesn't work for me. I ran: > > public class HelloWorld { > public static void main(String [] args) { > for (;;) > sayHelloWorld(); > } > > public static void sayHelloWorld() { > System.out.println("hello\n"); > } > }; > > plus some of the Swing demos like this: > > java -agentpath:/usr/local/oprofile-jit/lib/oprofile/libjvmti_oprofile.so.0.0.0 HelloWorld >/dev/null > > I get a jitdump file: > > # ls -lrt /var/lib/oprofile/jitdump/ > total 440 > -rw------- 1 moz moz 441616 2008-04-28 03:47 27111.dump > > But the output has nothing: > > # opreport -l | more > ... > warning: [vdso] (tgid:14265 range:0x7fff56bfd000-0x7fff56bff000) could not be found. > ... > - this isn't a JIT thing, but when did these start turning up? > Yuck - needs fixing. > ... > CPU: AMD64 processors, speed 2002.55 MHz (estimated) > Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask of 0x00 (No unit mask) count 100000 > samples % image name app name symbol name > 324908 33.5486 no-vmlinux no-vmlinux /no-vmlinux > 273758 28.2670 anon (tgid:27111 range:0x2aaaac005000-0x2aaaac276000) java anon (tgid:27111 range:0x2aaaac005000-0x2aaaac276000) > > > No Java symbols are listed at all, just the anonymous region. > Am I doing something wrong? > > Using the Sun Java 1.6 JDK. > > regards > john |