This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Web Patch: static array construction project



Someone should finish off the static array construction code.


2000-04-23  Anthony Green  <green@cygnus.com>

	* projects.html: Add static array construction.
	Describe what to do with new project ideas.

RCS file: /cvs/java/htdocs/projects.html,v
retrieving revision 1.2
diff -c -r1.2 projects.html
*** projects.html	2000/04/23 05:02:31	1.2
--- projects.html	2000/04/23 15:50:02
***************
*** 46,54 ****
  
  What follows is a list of projects that the GCJ community would love
  to see someone pick up and run with.  If you're interested in any of
! these, be sure to send a note with your ideas or intentions to the <a
  href="mailto:java-discuss@sourceware.cygnus.com">java-discuss</a>
! mailing list.
  
  <p>
  
--- 46,57 ----
  
  What follows is a list of projects that the GCJ community would love
  to see someone pick up and run with.  If you're interested in any of
! these, be sure to send a note with your questions, ideas or intentions
! to the <a
  href="mailto:java-discuss@sourceware.cygnus.com">java-discuss</a>
! mailing list.  Similarly, if you would like to see a project listed
! here that isn't, send a patch for this HTML file to the <a
! href="mailto:java-patches@sourceware.cygus.com">java-patches</a> list.
  
  <p>
  
***************
*** 137,142 ****
--- 140,168 ----
  href="http://waitaki.otago.ac.nz/~bryce/gcj/">benchmarks that run on
  GCJ</a>.  Building some infrastructure around these would be
  incredibly useful.
+ <p>
+ 
+ <br>
+ <table border="0" cellpadding="4" width="95%">
+ <tr bgcolor="#b0d0ff">
+  <th align="left">
+ Static array construction
+  </th>
+ </tr>
+ </table>
+ <br>
+ 
+ Static arrays of primitives should be statically constructed by the
+ compiler, not at runtime.  For example,
+ <pre>
+ static final int[] foo = { 0, 1, 2 }
+ </pre>
+ should not generate initializer code.
+ The function <tt>java_lang_expand_expr</tt> in <a
+ href="http://gcc.gnu.org/cgi-bin/cvsweb.cgi/~checkout~/egcs/gcc/java/expr.c">gcc/java/expr.c</a>
+ contains the start of this, and is currently disabled.
+ <p>
+ 
  </td>
  </tr>
  </table>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]