Re: RFR: 8256811: Delayed/missed jdwp class unloading events [v16]

2022-07-12 Thread Zhengyu Gu
On Tue, 12 Jul 2022 19:27:16 GMT, Chris Plummer wrote: > I haven't had a chance to review your change or to understand the sync > issues, but I did test them out and it seems to have gotten rid of the issue. > However, there is new assert that turned up once in 75 runs: > > ``` > # Internal E

Re: RFR: 8256811: Delayed/missed jdwp class unloading events [v16]

2022-07-12 Thread Chris Plummer
On Tue, 12 Jul 2022 17:02:54 GMT, Zhengyu Gu wrote: >> Currently, jdi only check and process class unloading event when it detects >> a new GC cycle. >> >> After [JDK-8212879](https://bugs.openjdk.org/browse/JDK-8212879), posting >> class events can overlap with GC finish event, that results,

Re: RFR: 8256811: Delayed/missed jdwp class unloading events [v16]

2022-07-12 Thread Zhengyu Gu
> Currently, jdi only check and process class unloading event when it detects a > new GC cycle. > > After [JDK-8212879](https://bugs.openjdk.org/browse/JDK-8212879), posting > class events can overlap with GC finish event, that results, sometimes, it > only captures partial or even empty unload