RFR: 8255706: The JDWP debug agent unecessarily checks for JVMTI_ERROR_INTERRUPT after calling RawMonitorEnter

Chris Plummer cjplummer at openjdk.java.net
Mon Nov 2 22:28:02 UTC 2020


Remove code that retries if RawMonitorEnter is interrupted since that can't happen:

https://docs.oracle.com/en/java/javase/14/docs/specs/jvmti.html#RawMonitorEnter

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

Commit messages:
 - RawMonitorEnter will never return JVMTI_ERROR_INTERRUPT, so don't check for it.

Changes: https://git.openjdk.java.net/jdk/pull/1022/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1022&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255706
  Stats: 10 lines in 1 file changed: 0 ins; 7 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1022.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1022/head:pull/1022

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


More information about the serviceability-dev mailing list