annotate src/share/vm/interpreter/bytecodeInterpreterWithChecks.xsl @ 1091:6aa7255741f3

6906727: UseCompressedOops: some card-marking fixes related to object arrays Summary: Introduced a new write_ref_array(HeapWords* start, size_t count) method that does the requisite MemRegion range calculation so (some of the) clients of the erstwhile write_ref_array(MemRegion mr) do not need to worry. This removed all external uses of array_size(), which was also simplified and made private. Asserts were added to catch other possible issues. Further, less essential, fixes stemming from this investigation are deferred to CR 6904516 (to follow shortly in hs17). Reviewed-by: kvn, coleenp, jmasa
author ysr
date Thu, 03 Dec 2009 15:01:57 -0800
parents d1605aabd0a1
children c18cbe5936b8
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 <!--
196
d1605aabd0a1 6719955: Update copyright year
xdono
parents: 179
diff changeset
3 Copyright 1997-2008 Sun Microsystems, Inc. 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
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
20 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
21 CA 95054 USA or visit www.sun.com if you need additional information or
2a8ec427fbe1 6706604: Copyright headers need to be changed to GPL.
kamg
parents: 0
diff changeset
22 have any 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
a61af66fc99e Initial load
duke
parents:
diff changeset
31 #include "bytecodeInterpreter.cpp"
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>