RFR: 8292006: Move thread accessor classes to threadJavaClasses.hpp

2022-08-05 Thread Ioi Lam
To improve modularity and build time, move the declaration of the following accessor from classfile/javaClasses.hpp to runtime/threadJavaClasses.hpp: + java_lang_Thread_FieldHolder + java_lang_Thread_Constants + java_lang_ThreadGroup + java_lang_VirtualThread Also move javaThreadStatus.hpp from

Integrated: Merge jdk19

2022-08-05 Thread David Holmes
On Fri, 5 Aug 2022 22:29:00 GMT, David Holmes wrote: > Forward port JDK 19 -> JDK 20 This pull request has now been integrated. Changeset: 87cda21c Author:David Holmes URL: https://git.openjdk.org/jdk/commit/87cda21c5d85f6e6f628849b8670e2ecb4e105dd Stats: 99 lines in 2 files cha

Integrated: Merge jdk19

2022-08-05 Thread David Holmes
Forward port JDK 19 -> JDK 20 - Commit messages: - Merge remote-tracking branch 'jdk19/master' into Merge_jdk19 - 8290562: ThreadMXBean.getThread{Cpu,User}Time fails with -XX:-VMContinuations The webrevs contain the adjustments done while merging with regards to each parent branch

Re: Grouped method entry events

2022-08-05 Thread Chris Plummer
Hi Egor, That is odd, and clearly wrong. It means that MethodEntryEvents are being delivered when no longer even executing in the method. And you are using the EVENT_THREAD suspend policy, so there should be a suspend for each event. Offhand I can't think of any changes that would have caused

Grouped method entry events

2022-08-05 Thread Egor Ushakov
Hi, we're experiencing strange grouping of method entry/exit events, is this a bug or a feature? We have one method entry request active with suspend policy 1 (suspend thread). important: we also have one active step request (step over) In jdk 11 we have one composite event for each event, wh

[jdk19] Integrated: 8290562: ThreadMXBean.getThread{Cpu,User}Time fails with -XX:-VMContinuations

2022-08-05 Thread Alan Bateman
On Mon, 1 Aug 2022 09:16:41 GMT, Alan Bateman wrote: > ThreadMXBean.getThread{Cpu,User}Time is specified to return -1L when invoked > with the id of a virtual thread. This isn't so when running with > -XX:-VMContinuations (or ports without support for continuations in the VM) > as it returns t