RFR: 8253717: Relocate stack overflow code out of thread.hpp/cpp

Coleen Phillimore coleenp at openjdk.java.net
Tue Oct 6 12:17:59 UTC 2020


This change moves the significant amount of stack overflow related code (with ascii art!) out of thread files into a
new file.  Many of the functions are static functions and some go through JavaThread::_stack_overflow_state where
needed.   All functions are moved and not modified except for qualification.

I also added a delegating constructor to JavaThread::JavaThread so reordered the assignments as initializers from
JavaThread::initialize.

Tested with tier1-6 and builds on arm32, ppc, s390 and zero.

-------------

Commit messages:
 - 8253717: Relocate stack overflow code out of thread.hpp/cpp
 - 8253717: Relocate stack overflow code out of thread.hpp/cpp

Changes: https://git.openjdk.java.net/jdk/pull/522/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=522&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253717
  Stats: 1265 lines in 50 files changed: 607 ins; 497 del; 161 mod
  Patch: https://git.openjdk.java.net/jdk/pull/522.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/522/head:pull/522

PR: https://git.openjdk.java.net/jdk/pull/522


More information about the hotspot-dev mailing list