NetBeans 6.1 Profiler, Sun JDK 1.5/1.6
Eugeny N Dzhurinsky
bofh at redwerk.com
Sat May 17 12:10:06 UTC 2008
On Fri, May 16, 2008 at 04:40:56PM -0700, Greg Lewis wrote:
> On Fri, May 16, 2008 at 03:19:27PM +0300, Eugeny N Dzhurinsky wrote:
> > Hello everytbody!
> >
> > I recently installed NetBeans 6.1 from ports and noticed there is no
> > libprofilerinterface.so library for FreeBSD, and NetBeans complains the profiling
> > wouldn't work. I've downloaded the sources of NetBeans and was able to build the
> > libprofilerinterface.so from sources, once I placed it into the appropriate directory
> > NetBeans expects it to appear in - NetBeans stops reporting the error, however profiling
> > still doesn't work for some another reason - it just hands on the "calibration" stage.
> >
> > I had built the module with -ggdb option, and found there is java.core file and
> > GDB shows this stack trace:
> >
> >
> > =============================================================================
> > (gdb) bt
> > #0 0x2817f9fb in kill () from /lib/libc.so.6
> > #1 0x280a3236 in raise () from /lib/libpthread.so.2
> > #2 0x2817e6a8 in abort () from /lib/libc.so.6
> > #3 0x2815a898 in __assert () from /lib/libc.so.6
> > #4 0x28808fda in initializeJVMTI (jvm=0x287b6ae0) at
> > ../src-jdk15/common_functions.c:122
>
> So, in the code you included below, which is line 122?
Please see below (actually it was included in the original e-mail, however
probably I highlighted it badly).
> > assert(res == JVMTI_ERROR_NONE);
> >
> > res = (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, JVMTI_EVENT_NATIVE_METHOD_BIND, NULL);
> >
> > /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! line 122 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
> > assert(res == JVMTI_ERROR_NONE);
> >
> > res = (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, JVMTI_EVENT_MONITOR_CONTENDED_ENTER, NULL);
> > assert(res == JVMTI_ERROR_NONE);
--
Eugene N Dzhurinsky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20080517/8bfe2267/attachment.pgp
More information about the freebsd-java
mailing list