> The WXMode for the current thread (on MacOS aarch64) is currently stored in 
> the thread class which is unnecessary as the WXMode is bound to the current 
> OS thread, not the current instance of the thread class.
> This pull request moves the storage of the current WXMode into a thread local 
> global variable in `os` and changes all related code. SafeFetch depended on 
> the existence of a thread object only because of the WXMode. This pull 
> request therefore removes the dependency, making SafeFetch usable in more 
> contexts.

Johannes Bechberger has updated the pull request incrementally with two 
additional commits since the last revision:

 - Move code to os::current_thread_wx
 - Small fixes

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7727/files
  - new: https://git.openjdk.java.net/jdk/pull/7727/files/a7c38e52..02048306

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

  Stats: 100 lines in 28 files changed: 15 ins; 11 del; 74 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7727.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7727/head:pull/7727

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

Reply via email to