You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by wj...@apache.org on 2006/08/22 22:47:41 UTC
svn commit: r433747 -
/incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Assert.java
Author: wjwashburn
Date: Tue Aug 22 13:47:41 2006
New Revision: 433747
URL: http://svn.apache.org/viewvc?rev=433747&view=rev
Log:
initial mods for marksweep collector
Modified:
incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Assert.java
Modified: incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Assert.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Assert.java?rev=433747&r1=433746&r2=433747&view=diff
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Assert.java (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/Assert.java Tue Aug 22 13:47:41 2006
@@ -38,7 +38,7 @@
* @param str A string describing the error condition.
*/
public final void error(String str) {
- System.out.println("org.apache.HarmonyDRLVM.mm.mmtk.Assert.error(): " + str);
+ System.out.println("******org.apache.HarmonyDRLVM.mm.mmtk.Assert.error(): " + str);
str = null;
str.notifyAll(); // this should cause a stack trace and exit
}
@@ -49,13 +49,13 @@
* @param message the string to log
*/
public final void fail(String message) {
- System.out.println("org.apache.HarmonyDRLVM.mm.mmtk.Assert.fail(): " + message);
+ System.out.println("******org.apache.HarmonyDRLVM.mm.mmtk.Assert.fail(): " + message);
message = null;
message.notifyAll(); // this should cause a stack trace and exit
}
public final void exit(int rc) throws UninterruptiblePragma {
- System.out.println("org.apache.HarmonyDRLVM.mm.mmtk.Assert.exit(): " + rc);
+ System.out.println("******org.apache.HarmonyDRLVM.mm.mmtk.Assert.exit(): " + rc);
Object obj = new Object();
obj = null;
obj.notifyAll(); // this should cause a stack trace and exit
@@ -71,7 +71,7 @@
{
if (cond == false)
{
- System.out.println("****** org.apache.HarmonyDRLVM.mm.mmtk.Assert._assert() ******");
+ System.out.println("****** org.apache.HarmonyDRLVM.mm.mmtk.Assert._assert()");
Object obj = new Object();
obj = null;
obj.notifyAll();
@@ -85,12 +85,12 @@
/* public static final boolean VerifyAssertions = VM.VerifyAssertions; */
public final void _assert(boolean cond, String s) throws InlinePragma {
- System.out.println("org.apache.HarmonyDRLVM.mm.mmtk.Assert._assert(): " + s);
+ System.out.println("******org.apache.HarmonyDRLVM.mm.mmtk.Assert._assert(): " + s);
s.notifyAll(); // this should cause a stack trace and exit
}
public final void dumpStack() {
- System.out.println("org.apache.HarmonyDRLVM.mm.mmtk.Assert.dumpStack(): ");
+ System.out.println("******org.apache.HarmonyDRLVM.mm.mmtk.Assert.dumpStack(): ");
Object obj = new Object();
obj = null;
obj.notifyAll(); // this should cause a stack trace and exit