RFR: 8343531: Improve print_location for invalid heap pointers
Albert Mingkun Yang
ayang at openjdk.org
Mon Nov 4 11:25:28 UTC 2024
On Mon, 4 Nov 2024 11:01:21 GMT, Volker Simonis <simonis at openjdk.org> wrote:
> but I think it is not trivial.
I was thinking copying the Serial impl into `ParallelScavengeHeap::block_start`; nothing sophisticated.
I suspect the following oddly looking code is used to workaround the unimplemented branch of block_start.
if (DebuggingContext::is_enabled() || VMError::is_error_reported()) {
return nullptr;
}
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21870#issuecomment-2454455414
More information about the hotspot-gc-dev
mailing list