Ah that one yes.. Trying it now.

On 2018/04/11 12:38, David Coppa wrote:
> On Wed, Apr 11, 2018 at 12:21 PM, Stuart Henderson <s...@spacehopper.org> 
> wrote:
> > On 2018/04/11 10:02, David Coppa wrote:
> >> Hi,
> >>
> >> Does it work at runtime?
> >>
> >
> > It doesn't work for me. Here's a backtrace from a standard build, I'll try
> > again and see if I can get it with symbols.
> >
> > (gdb) bt
> > #0  0x000008908ee471c6 in NativeCallStack::NativeCallStack ()
> >    from /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> > #1  0x000008908ee0268e in MemTracker::init_tracking_level () from 
> > /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> > #2  0x000008908e912880 in ResourceObj::operator new () from 
> > /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> > #3  0x000008908eee12fb in _GLOBAL__sub_I_reflectionUtils.cpp ()
> >    from /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> > #4  0x000008908e8401c3 in pthread_atfork () from 
> > /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> > #5  0x000008908e83f359 in _init () from 
> > /usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so
> > #6  0x00007f7fffff6120 in ?? ()
> > #7  0x00000890a7a0bc94 in _dl_call_init_recurse (object=0x890c178c800, 
> > initfirst=0)
> >     at /usr/src/libexec/ld.so/loader.c:722
> > #8  0x00000890a7a02b50 in dlopen (libname=0x7f7fffff6a30 
> > "/usr/local/jdk-1.8.0/jre/lib/amd64/server/libjvm.so",
> >     flags=Variable "flags" is not available.
> > ) at /usr/src/libexec/ld.so/dlfcn.c:126
> > #9  0x0000088dcb805eef in LoadJavaVM () from /usr/local/jdk-1.8.0/bin/java
> > #10 0x0000088dcb8016b2 in JLI_Launch () from /usr/local/jdk-1.8.0/bin/java
> > #11 0x0000088dcb8084cd in main () from /usr/local/jdk-1.8.0/bin/java
> >
> 
> Ok, so we also need this patch from FreeBSD:
> 
> https://svnweb.freebsd.org/ports/head/java/openjdk8/files/patch-hotspot_src_share_vm_services_memTracker.cpp?view=markup
> 
> https://svnweb.freebsd.org/ports/head/java/openjdk8/files/patch-hotspot_src_share_vm_services_memTracker.cpp?revision=459368&view=co
> 
> Ciao!
> David

Reply via email to