RFR: 8293037: Remove DebuggerBase.writeBytes() and related code from SA
Chris Plummer
cjplummer at openjdk.org
Mon Aug 29 19:04:35 UTC 2022
DebuggerBase.writeBytes() is not needed. It is only called by a number of other "write" methods, such as writeJBoolean(), but these methods are never called, so they can be removed along with writeBytes(). Lastly, writeBytes() calls writeBytesToProcess() which has no other callers, so it too can be removed. All it currently does is throw an exception. I imagine there may have been some use for this "write" capability 20+ years ago on Solaris/x86, or maybe it was part of future plans that never panned out. In any case, it's all just baggage now that can be removed.
-------------
Commit messages:
- Get rid of writeBytes() and related code.
Changes: https://git.openjdk.org/jdk/pull/10068/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10068&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8293037
Stats: 118 lines in 7 files changed: 0 ins; 116 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/10068.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10068/head:pull/10068
PR: https://git.openjdk.org/jdk/pull/10068
More information about the serviceability-dev
mailing list