LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Sat Dec 30 18:05:36 CET 2006
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/06/12 30:18:05

    Modified: jop/java/tools/src/com/jopdesign/build ClassInfo.java
    Log:
    comments


    Revision Changes Path
    1.10 jop/java/tools/src/com/jopdesign/build/ClassInfo.java

    http://www.opencores.org/cvsweb.shtml/jop/java/tools/src/com/jopdesign/build/ClassInfo.java.diff?r1=1.9&r2=1.10

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: ClassInfo.java
    ===================================================================
    RCS file: /cvsroot/martin/jop/java/tools/src/com/jopdesign/build/ClassInfo.java,v
    retrieving revision 1.9
    retrieving revision 1.10
    diff -u -b -r1.9 -r1.10
    --- ClassInfo.java 16 Aug 2005 12:39:01 -0000 1.9
    +++ ClassInfo.java 30 Dec 2006 17:05:35 -0000 1.10
    @@ -16,7 +16,6 @@
    *
    * Class struct:
    *
    - * -n: class variables
    * 0: instance size (class reference)
    * 1: GC info field (one bit per field)
    * 2: pointer to interface table
    @@ -25,35 +24,26 @@
    * : constant pool (cp)
    * : optional interface table
    *
    - * Flavius type class struct:
    + * class variables are collected in one area for
    + * easier GC access of the reference types
    *
    - * A Class struct image should look as follows:
    - * (the byte code for used Methods is output and at known locations)
    - *
    - * a. GCInfo: USE length + PACKED 2w into 1w ? (not big anyway)
    - * b. static fields
    - * c. -2. addrOf(staticfields)
    - * c. -1. addrOf(GCInfo)
    - * c. 0. instance size (class struct ptr)
    - * c. 1. addrOf(interfaces)
    - * d. method table, 2w per entry
    - * - uses f or other classes' f
    - * e. addrOf(class struct)
    - * f. constant pool
    - * - length
    - * - uses entries in b. and d.
    */

    public class ClassInfo {

    + /**
    + * Size of the class header.
    + * Difference between class pointer and mtab pointer.
    + */
    static final int CLS_HEAD = 3;
    + /**
    + * Size of a method table entry.
    + */
    static final int METH_STR = 2;
    - static final int CONST_STR = 1;

    static class IT {
    int nr;
    String key;
    -// String nativeName;
    MethodInfo meth;
    }




     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.