RFR: 8274986: max code printed in hs-err logs should be configurable [v4]
    David Holmes 
    dholmes at openjdk.java.net
       
    Tue Oct 12 11:45:58 UTC 2021
    
    
  
On Tue, 12 Oct 2021 08:06:22 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
>> src/hotspot/share/runtime/flags/jvmFlagLimit.cpp line 37:
>> 
>>> 35: #include "oops/markWord.hpp"
>>> 36: #include "runtime/task.hpp"
>>> 37: #include "utilities/vmError.hpp"
>> 
>> Why is this needed?
>
> For the definition of `VMError::max_error_log_print_code` to be available just like `task.hpp` is included to make `PeriodicTask::min_interval` (used in defining the range of `PerfDataSamplingInterval`) available.
I'm guessing there is some macro weirdness involved when defining the flag in globals.hpp.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5875
    
    
More information about the hotspot-dev
mailing list