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 JVM_CONSTANT constants are accessed and make sure they handle the new ones too. - Charlie On Thu, Jan 19, 2012 at 8:20 PM, Charles Oliver Nutter <head...@headius.com> wrote: > Actually it is not working in the official build either. Same error. > > On Thu, Jan 19, 2012 at 8:13 PM, Charles Oliver Nutter > <head...@headius.com> 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, if you try >> to -Xrunhprof, you get this: >> >> HPROF ERROR: Unknown constant >> [../../../src/share/demo/jvmti/java_crw_demo/java_crw_demo.c:693] >> [hprof_init.c:210] >> HPROF TERMINATED PROCESS >> >> What's the dilly-o? I needs me my runhprof! >> >> - Charlie _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev