RFR: JDK-8059586: hs_err report should treat redirected core pattern.
Yasumasa Suenaga
yasuenag at gmail.com
Tue Oct 7 10:48:53 UTC 2014
Hi David,
Sorry for my English.
I want to propose that JVM should create message according to core pattern
(/proc/sys/kernel/core_pattern) .
So I filed it to JBS and created a patch.
Thanks,
Yasumasa
2014/10/07 15:43 "David Holmes" <david.holmes at oracle.com>:
> Hi Yasumasa,
>
> I'm sorry but I don't understand what you are proposing. When you say
> "treat" do you mean "create"? Otherwise what do you mean by "treated"?
>
> Thanks,
> David
>
> On 2/10/2014 8:38 AM, Yasumasa Suenaga wrote:
> > I'm in Hackergarten @ JavaOne :-)
> >
> >
> > Hi all,
> >
> > I would like to enhance the messages in hs_err report.
> > Modern Linux kernel can treat core dump with user process (e.g. ABRT)
> > However, hs_err report cannot detect it.
> >
> > I think that hs_err report should output messages as below:
> > -------------
> > Failed to write core dump. Core dumps may be treated with
> "/usr/sbin/chroot /proc/%P/root /usr/libexec/abrt-hook-ccpp %s %c %p %u %g
> %t e"
> > -------------
> >
> > I've uploaded webrev of this enhancement.
> > Could you review it?
> >
> > http://cr.openjdk.java.net/~ysuenaga/JDK-8059586/webrev.00/
> >
> > This patch works fine on Fedora20 x86_64.
> >
> >
> >
> > Thanks,
> >
> > Yasumasa
> >
>
More information about the hotspot-runtime-dev
mailing list