Skip to content

Commit

Permalink
Merge pull request #5 from github-lis/peter_jam_return_to_never_lis
Browse files Browse the repository at this point in the history
Peter jam return to never lis
  • Loading branch information
pedro-monteiro committed Aug 29, 2014
2 parents 91a32a2 + ed71f43 commit a797737
Show file tree
Hide file tree
Showing 9 changed files with 432 additions and 26 deletions.
Binary file added src/jamvm/jamvm-1.5.4/Hello.class
Binary file not shown.
Binary file added src/jamvm/jamvm-1.5.4/src/Hello.class
Binary file not shown.
19 changes: 19 additions & 0 deletions src/jamvm/jamvm-1.5.4/src/Hello.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
public class HelloWorld {
static String myString;
static int myInt;
static double myDouble;
static long myLong;
static float myFloat;
public static void main(String[] args) {
System.out.println("HI " + myString);
System.out.println("HI " + myInt);
System.out.println("HI " + myDouble);
System.out.println("HI " + myLong);
System.out.println("HI " + myFloat);
myString += "A";
myInt += 1;
myDouble += 1;
myLong += 1;
myFloat += 1;
}
}
3 changes: 1 addition & 2 deletions src/jamvm/jamvm-1.5.4/src/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ static int IS_PERSISTENT = 0;
static char *FL_filename = "freelist";
static char *sep = "\n";

#define HEAPADDR 0xaf497000

/* HEAP MEM ADDRESS */

static int verbosegc;
static int compact_override;
Expand Down Expand Up @@ -2031,6 +2029,7 @@ void *gcMalloc(int len) {
fclose(freeListFile);
}


return ret_addr;
}

Expand Down
Loading

0 comments on commit a797737

Please sign in to comment.