Skip to content

Commit

Permalink
Merge branch 'pr_8346717' of https://github.com/stooke/jdk into pr_83…
Browse files Browse the repository at this point in the history
…46717
  • Loading branch information
stooke committed Dec 24, 2024
2 parents 40e5b9e + 4f0c7f7 commit 1da4240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/nmt/memMapPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ static bool vma_touches_thread_stack(const void* from, const void* to, const Thr
// kernel. That can happen, e.g., for non-java threads that don't have guard pages.
// Therefore we go for the simplest way here and check for intersection between VMA and thread stack.
// Note it is possible to encounter a brand new thread that has not yet initialized its stack fields.
return t->stack_base_or_null() != nullptr && (from, to, (const void*)t->stack_end(), (const void*)t->stack_base());
return t->stack_base_or_null() != nullptr && range_intersects(from, to, (const void*)t->stack_end(), (const void*)t->stack_base());
}

struct GCThreadClosure : public ThreadClosure {
Expand Down

0 comments on commit 1da4240

Please sign in to comment.