hotspot/src/share/vm/runtime/thread.cpp
changeset 46273 898ec28d19d7
parent 42664 29142a56c193
child 46284 ad578adff5df
equal deleted inserted replaced
46272:3cee5c1f3459 46273:898ec28d19d7
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
  3715 #if INCLUDE_MANAGEMENT
  3715 #if INCLUDE_MANAGEMENT
  3716   Management::record_vm_init_completed();
  3716   Management::record_vm_init_completed();
  3717 #endif // INCLUDE_MANAGEMENT
  3717 #endif // INCLUDE_MANAGEMENT
  3718 
  3718 
  3719   // Signal Dispatcher needs to be started before VMInit event is posted
  3719   // Signal Dispatcher needs to be started before VMInit event is posted
  3720   os::signal_init();
  3720   os::signal_init(CHECK_JNI_ERR);
  3721 
  3721 
  3722   // Start Attach Listener if +StartAttachListener or it can't be started lazily
  3722   // Start Attach Listener if +StartAttachListener or it can't be started lazily
  3723   if (!DisableAttachMechanism) {
  3723   if (!DisableAttachMechanism) {
  3724     AttachListener::vm_start();
  3724     AttachListener::vm_start();
  3725     if (StartAttachListener || AttachListener::init_at_startup()) {
  3725     if (StartAttachListener || AttachListener::init_at_startup()) {