Re: RFR: 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version [v2]

2022-07-14 Thread David Holmes
On Thu, 14 Jul 2022 22:46:09 GMT, Bill Huang wrote: >> This is a task to convert shell tests to Java tests. The shell scripts to be >> removed are responsible for compiling Java files and running the tests on >> Linux systems. This functionality can be achieved with JTReg tag @requires >> (os.

Re: RFR: 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version [v2]

2022-07-14 Thread Leonid Mesnik
On Thu, 14 Jul 2022 22:46:09 GMT, Bill Huang wrote: >> This is a task to convert shell tests to Java tests. The shell scripts to be >> removed are responsible for compiling Java files and running the tests on >> Linux systems. This functionality can be achieved with JTReg tag @requires >> (os.

Re: RFR: 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version [v2]

2022-07-14 Thread Alex Menkov
On Thu, 14 Jul 2022 22:46:09 GMT, Bill Huang wrote: >> This is a task to convert shell tests to Java tests. The shell scripts to be >> removed are responsible for compiling Java files and running the tests on >> Linux systems. This functionality can be achieved with JTReg tag @requires >> (os.

Re: RFR: 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version [v2]

2022-07-14 Thread Bill Huang
On Thu, 14 Jul 2022 22:46:09 GMT, Bill Huang wrote: >> This is a task to convert shell tests to Java tests. The shell scripts to be >> removed are responsible for compiling Java files and running the tests on >> Linux systems. This functionality can be achieved with JTReg tag @requires >> (os.

Re: RFR: 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version [v2]

2022-07-14 Thread Leonid Mesnik
On Thu, 14 Jul 2022 22:46:09 GMT, Bill Huang wrote: >> This is a task to convert shell tests to Java tests. The shell scripts to be >> removed are responsible for compiling Java files and running the tests on >> Linux systems. This functionality can be achieved with JTReg tag @requires >> (os.

Re: RFR: 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version [v2]

2022-07-14 Thread Bill Huang
> This is a task to convert shell tests to Java tests. The shell scripts to be > removed are responsible for compiling Java files and running the tests on > Linux systems. This functionality can be achieved with JTReg tag @requires > (os.family=="linux"). Bill Huang has updated the pull request

Re: RFR: 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version [v2]

2022-07-14 Thread Leonid Mesnik
On Thu, 14 Jul 2022 22:42:45 GMT, Bill Huang wrote: >> This is a task to convert shell tests to Java tests. The shell scripts to be >> removed are responsible for compiling Java files and running the tests on >> Linux systems. This functionality can be achieved with JTReg tag @requires >> (os.

Re: RFR: 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version

2022-07-14 Thread Bill Huang
On Thu, 14 Jul 2022 22:21:56 GMT, Leonid Mesnik wrote: >> This is a task to convert shell tests to Java tests. The shell scripts to be >> removed are responsible for compiling Java files and running the tests on >> Linux systems. This functionality can be achieved with JTReg tag @requires >> (

Re: RFR: 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version

2022-07-14 Thread Leonid Mesnik
On Thu, 14 Jul 2022 21:56:57 GMT, Bill Huang wrote: > This is a task to convert shell tests to Java tests. The shell scripts to be > removed are responsible for compiling Java files and running the tests on > Linux systems. This functionality can be achieved with JTReg tag @requires > (os.fami

RFR: 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version

2022-07-14 Thread Bill Huang
This is a task to convert shell tests to Java tests. The shell scripts to be removed are responsible for compiling Java files and running the tests on Linux systems. This functionality can be achieved with JTReg tag @requires (os.family=="linux"). - Commit messages: - Updated copy

Re: RFR: 8286030: Avoid JVM crash when containers share the same /tmp dir [v6]

2022-07-14 Thread Ioi Lam
On Tue, 12 Jul 2022 22:39:36 GMT, Ioi Lam wrote: >> Some Kubernetes setups share the /tmp directory across multiple containers. >> On rare occasions, the JVM may crash when it tries to write to >> `/tmp/hsperfdata_/` when a process in a separate container >> decides to do the same thing (becau

Re: RFR: 8289711: Add container configuration data to mbeans [v2]

2022-07-14 Thread Laurence Cable
agree Alan On 7/14/22 1:27 AM, Alan Bateman wrote: On Thu, 14 Jul 2022 07:54:56 GMT, xpbob wrote: Thanks for review. The runtime information is already fetched through the OperatingSystemMXBean, and I'm wrapped through the interface, keeping only the configuration data.Such an interface cou

Re: RFR: 8289711: Add container configuration data to mbeans [v2]

2022-07-14 Thread xpbob
On Thu, 14 Jul 2022 08:23:37 GMT, Alan Bateman wrote: >>> > Thanks for review. >>> > I add mBeans using the registerMBean method. >>> > We can get configuration information through JConsole, JMX exporter >>> >>> This iteration is a bit confusing because it adds a public interface to >>> java.la

Re: RFR: 8289711: Add container configuration data to mbeans [v2]

2022-07-14 Thread Alan Bateman
On Thu, 14 Jul 2022 07:54:56 GMT, xpbob wrote: > Thanks for review. The runtime information is already fetched through the > OperatingSystemMXBean, and I'm wrapped through the interface, keeping only > the configuration data.Such an interface could be part of management. I don't think this fea

Re: RFR: 8289711: Add container configuration data to mbeans [v2]

2022-07-14 Thread xpbob
On Thu, 14 Jul 2022 07:05:25 GMT, Alan Bateman wrote: > > Thanks for review. > > I add mBeans using the registerMBean method. > > We can get configuration information through JConsole, JMX exporter > > This iteration is a bit confusing because it adds a public interface to > java.lang.managemen

Re: RFR: 8289711: Add container configuration data to mbeans [v2]

2022-07-14 Thread Alan Bateman
On Thu, 14 Jul 2022 03:32:35 GMT, xpbob wrote: > Thanks for review. > I add mBeans using the registerMBean method. > We can get configuration information through JConsole, JMX exporter This iteration is a bit confusing because it adds a public interface to java.lang.management. For the register