[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-hotspot-runtime-dev
Subject: RE: RFR 8058113 Execution of OnOutOfMemoryError command hangs on linux-sparc
From: Ron Durbin <ron.durbin () oracle ! com>
Date: 2015-02-03 15:49:18
Message-ID: b2dcc42c-8e7f-4e08-91ec-86504761a632 () default
[Download RAW message or body]
Jerry
Sorry I missed that, my fault
-----Original Message-----
From: Gerald Thornbrugh
Sent: Tuesday, February 03, 2015 8:34 AM
To: Ron Durbin
Cc: Daniel Daugherty; hotspot-runtime-dev@openjdk.java.net
Subject: Re: RFR 8058113 Execution of OnOutOfMemoryError command hangs on linux-sparc
Hi Ron,
I did document the tests I ran in my original email. I ran JDK7u JPRT test on all the \
standard platforms including Linux/Sparc. I ran the standard Aurora regression test \
on the standard platforms. I also did unit testing on Linux/Sparc and Linux/x64.
Let me know if you have any other questions.
Thanks for the review.
Gerald
> Looks good to me.
> What tests did you run and were able to validate the test cases exercise the code \
> path.
> -----Original Message-----
> From: Gerald Thornbrugh
> Sent: Monday, February 02, 2015 4:42 PM
> To: Daniel Daugherty
> Cc: hotspot-runtime-dev@openjdk.java.net
> Subject: Re: RFR 8058113 Execution of OnOutOfMemoryError command hangs
> on linux-sparc
>
> Hi Dan,
>
> Thanks for the review.
>
> Gerald
> > On 2/2/15 4:21 PM, Gerald Thornbrugh wrote:
> > > Hi,
> > >
> > > Please review my JDK7u change for JDK-8058113, "Execution of
> > > OnOutOfMemoryError command hangs on linux-sparc"
> > >
> > > The linux fork_and_exec() function in os_linux.cpp requires that a
> > > call be made directly to "syscall(fork)" to stay multi-thread safe.
> > > The linux/sparc version of "syscall(fork)"
> > > returns the "is_child" flag in a register that is used to determine
> > > if the current thread is the child thread. This change creates the
> > > function sparc_fork() that uses the correct assembly code to call
> > > the linux/sparc version of "syscall(fork)" and returns the process
> > > id and "is child" flag.
> > >
> > > Webrev:
> > > http://cr.openjdk.java.net/~dcubed/gthornbr/8058113-webrev/5-for-jdk
> > > 7
> > > u/
> >
> > src/os/linux/vm/os_linux.cpp
> > No comments.
> >
> > Thumbs up.
> >
> > Dan
> >
> >
> > >
> > > It was determined that this fix should not be putback into JDK8 or
> > > JDK9. A bug will be filed to look into a better way of doing a
> > > multi-thread safe "fork and exec" for all linux platforms in JDK8
> > > and JDK9.
> > >
> > > I have completed JPRT and Aurora test runs on all platforms
> > > including
> > > 32 and 64 bit linux platforms without issues.
> > > I have also completed JDK7u JPRT testing on linux/sparc 64 bit
> > > platforms without issues.
> > > I also ran the OnOutOfMemoryError test on linux/sparc 64 bit
> > > platform and the fix addressed the issue.
> > >
> > > Thanks,
> > >
> > > Gerald
> >
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic