Re: [jdk17] RFR: 8269558: fix of JDK-8252657 missed to update history at the end of JVM TI spec [v2]

2021-07-11 Thread Serguei Spitsyn
> The fix of: >8252657 JVMTI agent is not unloaded when Agent_OnAttach is failed > did not update the JVM TI spec history at the end of document. > This PR adds missed item to the JVM TI spec history. Serguei Spitsyn has updated the pull request with a new target base due to a merge or a reb

[jdk17] Integrated: 8269558: fix of JDK-8252657 missed to update history at the end of JVM TI spec

2021-07-11 Thread Serguei Spitsyn
On Thu, 8 Jul 2021 19:11:45 GMT, Serguei Spitsyn wrote: > The fix of: >8252657 JVMTI agent is not unloaded when Agent_OnAttach is failed > did not update the JVM TI spec history at the end of document. > This PR adds missed item to the JVM TI spec history. This pull request has now been int

Re: RFR: 8178287: AsyncGetCallTrace fails to traverse valid Java stacks [v3]

2021-07-11 Thread Andrei Pangin
On Fri, 18 Jun 2021 08:56:32 GMT, Ludovic Henry wrote: >> When the signal sent for AsyncGetCallTrace or JFR would land on a runtime >> stub (like arraycopy), a vtable stub, or the prolog of a compiled method, >> it wouldn't be able to detect the sender (caller) frame for multiple >> reasons.

Re: RFR: 8269851: OperatingSystemMXBean getProcessCpuLoad reports incorrect process cpu usage in containers [v5]

2021-07-11 Thread xpbob
> …ocess cpu usage in containers xpbob has updated the pull request incrementally with one additional commit since the last revision: use same path for cpuload - Changes: - all: https://git.openjdk.java.net/jdk/pull/4702/files - new: https://git.openjdk.java.net/jdk/pull/4702

Re: RFR: 8269851: OperatingSystemMXBean getProcessCpuLoad reports incorrect process cpu usage in containers [v4]

2021-07-11 Thread xpbob
On Fri, 9 Jul 2021 14:19:42 GMT, Severin Gehwolf wrote: > Thanks for the update. `getProcessCpuLoad()` and `getCpuLoad()` looks way too > similar to me. Is there a way to make them more generic and do the process > vs. system paths as needed? I think there is. use getCpuLoadWithTarget for proc

Re: RFR: 8268698: Use Objects.check{Index, FromToIndex, FromIndexSize} for java.base [v11]

2021-07-11 Thread Yi Yang
On Thu, 8 Jul 2021 03:12:24 GMT, Yi Yang wrote: >> After JDK-8265518(#3615), it's possible to replace all variants of >> checkIndex by >> Objects.checkIndex/Objects.checkFromToIndex/Objects.checkFromIndexSize in >> the whole JDK codebase. > > Yi Yang has refreshed the contents of this pull req