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

Coleen Phillimore coleenp at openjdk.java.net
Wed Oct 7 15:22:31 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.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Added some const to StackOverflow declarations

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/522/files
  - new: https://git.openjdk.java.net/jdk/pull/522/files/24f8534f..3191748b

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=522&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=522&range=03-04

  Stats: 11 lines in 2 files changed: 2 ins; 0 del; 9 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