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
  • Find Resources
  • 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: Mon Jun 4 13:54:05 CEST 2007
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/07/06 04:13:54

    Modified: jop/java/target/src/common/com/jopdesign/sys JVM.java
    Log:
    debug output removed


    Revision Changes Path
    1.30 jop/java/target/src/common/com/jopdesign/sys/JVM.java

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

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

    Index: JVM.java
    ===================================================================
    RCS file: /cvsroot/martin/jop/java/target/src/common/com/jopdesign/sys/JVM.java,v
    retrieving revision 1.29
    retrieving revision 1.30
    diff -u -b -r1.29 -r1.30
    --- JVM.java 4 Jun 2007 11:44:35 -0000 1.29
    +++ JVM.java 4 Jun 2007 11:54:04 -0000 1.30
    @@ -95,26 +95,9 @@
    private static void f_dastore() { JVMHelp.noim();}
    private static void f_aastore(int ref, int index, int value) {

    -// JVMHelp.wr("aas");
    - if ((ref&0x07)!=0) {
    - System.out.print("aas-problem ref=");
    - System.out.println(ref);
    - }
    - if (ref==0) throw new NullPointerException("yy");
    + if (ref==0) throw new NullPointerException();
    if (index<0 || index>=Native.rdMem(ref+GC.OFF_MTAB_ALEN)) {
    -
    - System.out.print("aastore: ref=");
    - System.out.println(ref);
    - System.out.print("aastore: index=");
    - System.out.println(index);
    - System.out.print("aastore: value=");
    - System.out.println(value);
    - System.out.print("aastore: len=");
    - System.out.println(Native.rdMem(ref+GC.OFF_MTAB_ALEN));
    - System.out.print("aastore: type=");
    - System.out.println(Native.rdMem(ref+GC.OFF_TYPE));
    -
    - throw new ArrayIndexOutOfBoundsException("xx");
    + throw new ArrayIndexOutOfBoundsException();
    }

    synchronized (GC.mutex) {
    @@ -823,11 +806,9 @@
    private static void f_resE0() { JVMHelp.noim();}
    private static void f_putstatic_ref(int val, int addr) {

    -// GC.log("psr");
    synchronized (GC.mutex) {
    // snapshot-at-beginning barrier
    int oldVal = Native.rdMem(addr);
    -// GC.log("psr-old", oldVal);
    if (oldVal!=0 && Native.rdMem(oldVal+GC.OFF_SPACE)!=GC.toSpace) {
    GC.push(oldVal);
    }
    @@ -837,7 +818,6 @@
    private static void f_resE2() { JVMHelp.noim();}
    private static void f_putfield_ref(int ref, int val, int index) {

    -// GC.log("pfr");
    if (ref==0) {
    throw new NullPointerException();
    }
    @@ -851,15 +831,10 @@
    }
    */

    -// GC.log("pfr-ref", ref);
    -// GC.log("pfr-val", val);
    -// GC.log("pfr-index", index);
    // handle indirection
    ref = Native.rdMem(ref);
    // snapshot-at-beginning barrier
    int oldVal = Native.rdMem(ref+index);
    -// GC.log("pfr-addr", ref);
    -// GC.log("pfr-old", oldVal);
    if (oldVal!=0 && Native.rdMem(oldVal+GC.OFF_SPACE)!=GC.toSpace) {
    GC.push(oldVal);
    }



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