RFR(s): 8204958: Minor cleanups for the diagnostic framework
thomas.stuefe at gmail.com
Wed Jun 13 13:41:51 UTC 2018
while working on jcmd I saw some minor cleanup possibilities.
Most of them are const correctness and using initializer lists instead
of java-style member initialization in these C++ classes.
- Added a ResourceMark into the DCmd::parse_and_execute() loop
- removed DCmdFactory::create_global_DCmd() (and following that,
DCmdFactory::create_Cheap_instance()) since I did not find anyone
using that function.
- Also in DCmdFactory, I removed a number of setters which were never
called and for attributes which should be immutable: hidden, flags,
This is really a rather light cleanup. It did not touch any larger issues.
More information about the hotspot-runtime-dev