RFR: 8325464: GCCause.java out of sync with gcCause.hpp

2024-02-07 Thread Yifeng Jin
This patch updates `GCCause.java` to keep sync with latest `gcCause.hpp`. - Commit messages: - GCCause.java out of sync with gcCause.hpp Changes: https://git.openjdk.org/jdk/pull/17766/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17766&range=00 Issue: https://bugs.openj

Re: RFR: 8325464: GCCause.java out of sync with gcCause.hpp

2024-02-08 Thread Stefan Karlsson
On Thu, 8 Feb 2024 06:19:16 GMT, Yifeng Jin wrote: > These two files (`GCCause.java` and `gcCause.hpp`) should be in sync by > design, see comments in these two files. However, some recent changes (e.g. > [JDK-8240239](https://bugs.openjdk.org/browse/JDK-8240239)) to `gcCause.hpp` > were not s

Re: RFR: 8325464: GCCause.java out of sync with gcCause.hpp [v2]

2024-02-08 Thread Yifeng Jin
> These two files (`GCCause.java` and `gcCause.hpp`) should be in sync by > design, see comments in these two files. However, some recent changes (e.g. > [JDK-8240239](https://bugs.openjdk.org/browse/JDK-8240239)) to `gcCause.hpp` > were not simultaneously reflected in `GCCause.java`. This patch

Re: RFR: 8325464: GCCause.java out of sync with gcCause.hpp [v2]

2024-02-08 Thread Yifeng Jin
On Thu, 8 Feb 2024 08:39:44 GMT, Stefan Karlsson wrote: >> Yifeng Jin has updated the pull request incrementally with one additional >> commit since the last revision: >> >> swap zgc and shenandoah block > > src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/GCCause.java > line 65

Re: RFR: 8325464: GCCause.java out of sync with gcCause.hpp [v2]

2024-02-08 Thread Stefan Karlsson
On Fri, 9 Feb 2024 05:31:17 GMT, Yifeng Jin wrote: >> These two files (`GCCause.java` and `gcCause.hpp`) should be in sync by >> design, see comments in these two files. However, some recent changes (e.g. >> [JDK-8240239](https://bugs.openjdk.org/browse/JDK-8240239)) to `gcCause.hpp` >> were n

Re: RFR: 8325464: GCCause.java out of sync with gcCause.hpp [v2]

2024-02-09 Thread Thomas Schatzl
On Fri, 9 Feb 2024 05:31:17 GMT, Yifeng Jin wrote: >> These two files (`GCCause.java` and `gcCause.hpp`) should be in sync by >> design, see comments in these two files. However, some recent changes (e.g. >> [JDK-8240239](https://bugs.openjdk.org/browse/JDK-8240239)) to `gcCause.hpp` >> were n