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:56:09 CET 2006
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/06/12 30:18:56

    Modified: jop/java/target/src/common/com/jopdesign/sys GC.java
    Log:
    add reference to super class to class info


    Revision Changes Path
    1.29 jop/java/target/src/common/com/jopdesign/sys/GC.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/common/com/jopdesign/sys/GC.java.diff?r1=1.28&r2=1.29

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

    Index: GC.java
    ===================================================================
    RCS file: /cvsroot/martin/jop/java/target/src/common/com/jopdesign/sys/GC.java,v
    retrieving revision 1.28
    retrieving revision 1.29
    diff -u -b -r1.28 -r1.29
    --- GC.java 30 Dec 2006 17:06:10 -0000 1.28
    +++ GC.java 30 Dec 2006 17:56:08 -0000 1.29
    @@ -23,11 +23,11 @@
    * Size of class header part.
    * Difference between class struct and method table
    */
    - static final int CLASS_HEADR = 3;
    + static final int CLASS_HEADR = 4;
    /**
    * GC_INFO field relativ to start of MTAB.
    */
    - static final int MTAB2GC_INFO = -2;
    + static final int MTAB2GC_INFO = -3;

    /**
    * Fields in the handle structure.
    @@ -90,7 +90,7 @@
    static final int OFF_MARK = 6;


    - static final int TYPICAL_OBJ_SIZE = 10;
    + static final int TYPICAL_OBJ_SIZE = 5;
    static int handle_cnt;
    /**
    * Size of one semi-space, complete heap is two times
    @@ -210,7 +210,6 @@
    // JVMHelp.wrByte(Native.getSP());
    int addr = freeList;
    freeList = Native.rdMem(freeList+OFF_NEXT);
    -if (addr<mem_start || addr>=heapStartA) JVMHelp.wr("Problem getHandle");
    // pointer to real object, also marks it as non free
    Native.wrMem(ref, addr); // +OFF_PTR
    // should be from the class info
    @@ -335,8 +334,7 @@
    // get pointer to method table
    flags = Native.rdMem(ref+OFF_MTAB_LEN);
    // get real flags
    - flags = Native.rdMem(flags-MTAB2GC_INFO);
    -
    + flags = Native.rdMem(flags+MTAB2GC_INFO);
    for (i=0; flags!=0; ++i) {
    if ((flags|1)!=0) {
    int child = Native.rdMem(addr+i);



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