Re: RFR: 8000975: (process) Merge UNIXProcess.java.bsd & UNIXProcess.java.linux (& .solaris & .aix)

2014-05-07 Thread Peter Levart
Hi Martin, I have restructured the processReaperExecutor construction. It now incorporates system thread group search and thread pool construction in one doPrivileged call. I also extracted the creation of ThreadFactory into a local variable so it's more explicit now. Here's the webrev: http

Re: RFR: 8042243: Map shared archive to preallocated static address

2014-05-07 Thread David Holmes
Hi Ioi, Thanks for the background. I understand this only applies to Linux but that is the reason it should be confined to Linux-specific files as much as possible. This wouldn't be the first time we introduced an os method that only had a non-trivial implementation on one platform. Thanks,

Re: How to mount a volume with file owners being nobody?

2014-05-07 Thread Peter Levart
On 04/18/2014 05:28 AM, Wang Weijun wrote: I have seen such things before but cannot create one now. I would like to simulate a problematic environment on my own machines. Any suggestion is welcomed, I have Mac OS X and Windows at hand but Linux and Solaris are also OK. Thanks Max Hi Max,

RFR 9 and 8u: JDK-8029674: (reflect) getMethods returns default methods that are not members of the class

2014-05-07 Thread Joel Borggrén-Franck
Hi, Since Java 8 the methods Class.getMethod() and Class.getMethods() can in some circumstances return methods that are not members of the class. This is due to a spec change in 8 not due to a code change. For this to happen you need to have an interface hierarchy that looks something like: in

Re: RFR: 8042243: Map shared archive to preallocated static address

2014-05-07 Thread Ioi Lam
All we need is to store two variables (base and size) and use them if the define a suitable range. So the code is completely platform agnostic. We found this useful for Linux only for the standard JDK platforms, but maybe when people port to other platforms they would find this useful as well?