mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8289230: Move PlatformXXX class declarations out of os_xxx.hpp
Reviewed-by: coleenp, ccheung
This commit is contained in:
parent
44e8c462b4
commit
cdf6979259
36 changed files with 782 additions and 469 deletions
|
@ -57,6 +57,7 @@
|
|||
#include "runtime/osThread.hpp"
|
||||
#include "runtime/safefetch.hpp"
|
||||
#include "runtime/sharedRuntime.hpp"
|
||||
#include "runtime/threadCrashProtection.hpp"
|
||||
#include "runtime/threadSMR.hpp"
|
||||
#include "runtime/vmOperations.hpp"
|
||||
#include "runtime/vm_version.hpp"
|
||||
|
@ -618,7 +619,7 @@ static bool has_reached_max_malloc_test_peak(size_t alloc_size) {
|
|||
|
||||
#ifdef ASSERT
|
||||
static void check_crash_protection() {
|
||||
assert(!os::ThreadCrashProtection::is_crash_protected(Thread::current_or_null()),
|
||||
assert(!ThreadCrashProtection::is_crash_protected(Thread::current_or_null()),
|
||||
"not allowed when crash protection is set");
|
||||
}
|
||||
static void break_if_ptr_caught(void* ptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue