OSDN Git Service

x86_64: Fix 079-Phantom hang with QCG enabled
authorDmitry Petrochenko <dmitry.petrochenko@intel.com>
Fri, 16 May 2014 06:24:40 +0000 (13:24 +0700)
committerDmitry Petrochenko <dmitry.petrochenko@intel.com>
Fri, 23 May 2014 09:23:45 +0000 (16:23 +0700)
commitfa658b079d4795ec72867b7cc4561884714d69b7
treeac863de724f331b9be21714a832b751cd6877048
parent2054b925a635642bedd912c6da37ffa9f1d21c6d
x86_64: Fix 079-Phantom hang with QCG enabled

The 079 test creates "sWatcher" thread. In case of unexpected failure
(e.g. Exception thrown) the sWatcher thread remains alive and it
blocks VM shutdown. We mark the sWarcher thread as daemon and
let VM to stop that thread during shutdown cause by unexpected error.

Change-Id: I0cb0b8bbeb15de47b72ddae1a32fcfea3ef8720e
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
test/079-phantom/src/Bitmap.java