[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Integrated: 8255934: JConsole 14 and greater fails to connect to older JVM
From:       Alex Menkov <amenkov () openjdk ! java ! net>
Date:       2020-11-20 23:36:02
Message-ID: FjsxakS9_7w1l2yXrZ3wrf_6pRHXfSXdIDn6piddMU8=.8b8f77b4-7f94-40ed-a934-aaf67f124658 () github ! com
[Download RAW message or body]

On Mon, 16 Nov 2020 23:00:05 GMT, Alex Menkov <amenkov@openjdk.org> wrote:

> OperatingSystemMXBean was changed in jdk14 (see JDK-8226575):
> New methods getTotalMemorySize and getFreeMemorySize were added, old \
> getTotalPhysicalMemorySize and getFreePhysicalMemorySize were deprecated. 
> The fix adds fallbacks for the values (i.e. if new methods fail, jconsole calls old \
> methods)

This pull request has now been integrated.

Changeset: 14de791d
Author:    Alex Menkov <amenkov@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/14de791d
Stats:     22 lines in 1 file changed: 20 ins; 0 del; 2 mod

8255934: JConsole 14 and greater fails to connect to older JVM

Reviewed-by: cjplummer, sspitsyn

-------------

PR: https://git.openjdk.java.net/jdk/pull/1243


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic