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
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,
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,
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
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?