Re: runhprof not working in JDK7 builds

2012-01-21 Thread Henri Gomez
Note to all, Building mlvm for osx is still tricky, based on bsd-port (old) with mq patches system which exclude some commits. So it's hard to know from hg commits if a new build is requiered for osx :-( We really need osx code back in jdk8 and some guidelines on how patches are included/excl

Re: runhprof not working in JDK7 builds

2012-01-19 Thread Charles Oliver Nutter
I found the problem, The switch at java_crw_demo.c:662 is not handling the two new constant types JVM_CONSTANT_MethodHandle and JVM_CONSTANT_MethodType. I'm not sure how they're actually structured, so I'll leave a fix to those who do :) Probably worth auditing the codebase for other places the JV

Re: runhprof not working in JDK7 builds

2012-01-19 Thread Charles Oliver Nutter
Actually it is not working in the official build either. Same error. On Thu, Jan 19, 2012 at 8:13 PM, Charles Oliver Nutter wrote: > Hello friends and Henri Gomez! > > I have just learned that another user building OpenJDK on Linux sees > the same runhprof error I do when I run on OS X. Basically

runhprof not working in JDK7 builds

2012-01-19 Thread Charles Oliver Nutter
Hello friends and Henri Gomez! I have just learned that another user building OpenJDK on Linux sees the same runhprof error I do when I run on OS X. Basically, if you try to -Xrunhprof, you get this: HPROF ERROR: Unknown constant [../../../src/share/demo/jvmti/java_crw_demo/java_crw_demo.c:693] [