annotate src/share/vm/interpreter/bytecodeInterpreterWithChecks.xml @ 14649:f6301b007a16

6498581: ThreadInterruptTest3 produces wrong output on Windows Summary: There is race condition between os::interrupt and os::is_interrupted on Windows. In JVM_Sleep(Thread.sleep), check if thread gets interrupted, it may see interrupted but not really interrupted so cause spurious waking up (early return from sleep). Fix by checking if interrupt event really gets set thus prevent false return. For intrinsic of _isInterrupted, on Windows, go fastpath only on bit not set. Reviewed-by: acorn, kvn Contributed-by: david.holmes@oracle.com, yumin.qi@oracle.com
author minqi
date Wed, 26 Feb 2014 15:20:41 -0800
parents c18cbe5936b8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 <?xml version="1.0"?>
a61af66fc99e Initial load
duke
parents:
diff changeset
2 <!--
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 196
diff changeset
3 Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
177
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
5
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
6 This code is free software; you can redistribute it and/or modify it
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
7 under the terms of the GNU General Public License version 2 only, as
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
8 published by the Free Software Foundation.
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
9
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
10 This code is distributed in the hope that it will be useful, but WITHOUT
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
13 version 2 for more details (a copy is included in the LICENSE file that
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
14 accompanied this code).
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
15
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
16 You should have received a copy of the GNU General Public License version
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
17 2 along with this work; if not, write to the Free Software Foundation,
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
18 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
19
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 196
diff changeset
20 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 196
diff changeset
21 or visit www.oracle.com if you need additional information or have any
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 196
diff changeset
22 questions.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
23 -->
a61af66fc99e Initial load
duke
parents:
diff changeset
24 <!DOCTYPE processcode [
a61af66fc99e Initial load
duke
parents:
diff changeset
25 <!ELEMENT processcode ANY>
a61af66fc99e Initial load
duke
parents:
diff changeset
26 ]>
a61af66fc99e Initial load
duke
parents:
diff changeset
27 <processcode>
a61af66fc99e Initial load
duke
parents:
diff changeset
28 </processcode>