mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8366925: Improper std::nothrow new expression in NativeHeapTrimmerThread ctor
Reviewed-by: ayang, kbarrett, dholmes
This commit is contained in:
parent
73df06c80c
commit
3ba2e748d6
@ -163,7 +163,7 @@ class NativeHeapTrimmerThread : public NamedThread {
|
||||
public:
|
||||
|
||||
NativeHeapTrimmerThread() :
|
||||
_lock(new (std::nothrow) PaddedMonitor(Mutex::nosafepoint, "NativeHeapTrimmer_lock")),
|
||||
_lock(new PaddedMonitor(Mutex::nosafepoint, "NativeHeapTrimmer_lock")),
|
||||
_stop(false),
|
||||
_suspend_count(0),
|
||||
_num_trims_performed(0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user