RFR: 8283849: AsyncGetCallTrace may crash JVM on guarantee [v2]

Jaroslav Bachorik jbachorik at openjdk.java.net
Thu May 5 13:45:18 UTC 2022


On Thu, 5 May 2022 13:21:39 GMT, Johannes Bechberger <duke at openjdk.java.net> wrote:

>> I had tried identifying any gaps I might use but found none. Not saying they are none but it is rather difficult to spot anything with all the Thread related attributes spread across many lines, interspersed with the method declarations :(
>> Any trick or tool I might use to find the right place for this attribute?
>
> An option would be to place it after https://github.com/openjdk/jdk/blob/ce15582a7570b529a4c9b3d500f60fa0a2dc772d/src/hotspot/share/runtime/thread.hpp#L901 but it would make the code less coherent.

Ok, moved it a bit around - now the bool field is after an int field which should make things slightly better, I guess.

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

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


More information about the serviceability-dev mailing list