annotate src/share/vm/interpreter/bytecodeInterpreterWithChecks.xsl @ 17716:cdb71841f4bc

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 f95d63e2154a
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 <!--
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
3 Copyright (c) 1997, 2010, 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
a61af66fc99e Initial load
duke
parents:
diff changeset
25 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
166
aaa1137c5ef4 6707485: bytecodeInterpreterWithChecks.xsl is malformed
sgoldman
parents: 0
diff changeset
26 <xsl:output method="text" indent="no" omit-xml-declaration="yes"/>
0
a61af66fc99e Initial load
duke
parents:
diff changeset
27
a61af66fc99e Initial load
duke
parents:
diff changeset
28 <xsl:template match="processcode">
a61af66fc99e Initial load
duke
parents:
diff changeset
29 <xsl:text>
a61af66fc99e Initial load
duke
parents:
diff changeset
30 #define VM_JVMTI
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
31 #include "interpreter/bytecodeInterpreter.cpp"
0
a61af66fc99e Initial load
duke
parents:
diff changeset
32 </xsl:text>
a61af66fc99e Initial load
duke
parents:
diff changeset
33 <xsl:text disable-output-escaping = "yes">
a61af66fc99e Initial load
duke
parents:
diff changeset
34
a61af66fc99e Initial load
duke
parents:
diff changeset
35 </xsl:text>
a61af66fc99e Initial load
duke
parents:
diff changeset
36
a61af66fc99e Initial load
duke
parents:
diff changeset
37 </xsl:template>
a61af66fc99e Initial load
duke
parents:
diff changeset
38
a61af66fc99e Initial load
duke
parents:
diff changeset
39 </xsl:stylesheet>