Hotspot sources contain many files that use the ResourceMark class but do not include the resourceArea.hpp file.
While the code obviously compiles, this means that this include is provided by some intermediate include. This is somewhat brittle in case of changing the include files, and should be fixed.
The comments contain the list of files that reference ResourceMark but do not include resourceArea.hpp.
While the code obviously compiles, this means that this include is provided by some intermediate include. This is somewhat brittle in case of changing the include files, and should be fixed.
The comments contain the list of files that reference ResourceMark but do not include resourceArea.hpp.