mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-5741 broken build in main because of hotspot changes (JDK-8309613)
Added missing parameter
(cherry picked from commit c4c6d022f8)
This commit is contained in:
@@ -2157,10 +2157,11 @@ void VMError::record_oome_stack(const char *message) {
|
||||
MutexLocker ml(OOMEStacks_lock);
|
||||
|
||||
static char buf[O_BUFLEN];
|
||||
address lastpc = nullptr;
|
||||
|
||||
stringStream st(_oome_stacktrace[_oome_free_index], OOME_STACKTRACE_BUFSIZE);
|
||||
st.print_cr("OutOfMemoryError(\"%s\"):", message);
|
||||
if (os::platform_print_native_stack(&st, _context, buf, sizeof(buf))) {
|
||||
if (os::platform_print_native_stack(&st, _context, buf, sizeof(buf), lastpc)) {
|
||||
// We have printed the native stack in platform-specific code
|
||||
// Windows/x64 needs special handling.
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user