On 15 Feb 2016, at 20:05, Mandy Chung <mandy.ch...@oracle.com> wrote:
> >> On Feb 15, 2016, at 9:06 AM, Uwe Schindler <uschind...@apache.org> wrote: >> >> Hi, >> >>> On 15/02/2016 14:57, Chris Hegarty wrote: >>>> Peter, >>>> >>>> http://cr.openjdk.java.net/~plevart/jdk9-dev/removeInternalCleaner/webrev.02/ >>>> > > This patch looks correct to me. The innocuous thread created for common > cleaner is of Thread.MAX_PRIORITY - 2 priority whereas the reference handler > thread is of MAX_PRIORITY priority. I see your point, but I don’t see this as an issue because threads failing to allocate memory themselves get involved in cleaning. So pressure is somewhat off the reference handler thread. -Chris.