Mercurial > hg > graal-compiler
changeset 10427:58777dad7f90
Cite source of comment in NewObjectSnippets.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Thu, 20 Jun 2013 10:18:15 +0200 |
parents | 2fe8c94089b8 |
children | 6188764e66af |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/NewObjectSnippets.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/NewObjectSnippets.java Thu Jun 20 10:17:03 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/NewObjectSnippets.java Thu Jun 20 10:18:15 2013 +0200 @@ -131,6 +131,8 @@ int layoutHelper = readLayoutHelper(hub); //@formatter:off + // from src/share/vm/oops/klass.hpp: + // // For arrays, layout helper is a negative number, containing four // distinct bytes, as follows: // MSB:[tag, hsz, ebt, log2(esz)]:LSB