# HG changeset patch # User Roland Schatz # Date 1371716295 -7200 # Node ID 58777dad7f9027bdd7fab48de10374d37ec97a50 # Parent 2fe8c94089b81aa23d0a7b2b35b92985eafedf31 Cite source of comment in NewObjectSnippets. diff -r 2fe8c94089b8 -r 58777dad7f90 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/NewObjectSnippets.java --- 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