|
From: <cr...@us...> - 2009-03-23 09:49:33
|
Revision: 5144
http://jnode.svn.sourceforge.net/jnode/?rev=5144&view=rev
Author: crawley
Date: 2009-03-23 09:49:28 +0000 (Mon, 23 Mar 2009)
Log Message:
-----------
Javadoc fixes
Modified Paths:
--------------
trunk/core/src/classpath/vm/java/lang/ClassLoader.java
trunk/core/src/core/org/jnode/vm/compiler/ir/LiveRange.java
trunk/core/src/core/org/jnode/vm/compiler/ir/PhiOperand.java
trunk/core/src/core/org/jnode/vm/compiler/ir/Variable.java
trunk/core/src/core/org/jnode/vm/compiler/ir/quad/BinaryQuad.java
trunk/core/src/core/org/jnode/vm/compiler/ir/quad/BranchQuad.java
trunk/core/src/core/org/jnode/vm/compiler/ir/quad/ConditionalBranchQuad.java
trunk/core/src/core/org/jnode/vm/compiler/ir/quad/ConstantRefAssignQuad.java
trunk/core/src/core/org/jnode/vm/compiler/ir/quad/PhiAssignQuad.java
trunk/core/src/core/org/jnode/vm/compiler/ir/quad/Quad.java
trunk/core/src/core/org/jnode/vm/compiler/ir/quad/UnaryQuad.java
trunk/core/src/core/org/jnode/vm/compiler/ir/quad/UnconditionalBranchQuad.java
trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VarReturnQuad.java
trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VariableRefAssignQuad.java
trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VoidReturnQuad.java
trunk/core/src/core/org/jnode/vm/isolate/LinkMessageFactory.java
trunk/core/src/core/org/jnode/vm/isolate/VmIsolate.java
trunk/core/src/core/org/jnode/vm/isolate/VmIsolateLocal.java
trunk/core/src/core/org/jnode/vm/isolate/VmLink.java
trunk/core/src/core/org/jnode/vm/memmgr/VmHeapManager.java
Modified: trunk/core/src/classpath/vm/java/lang/ClassLoader.java
===================================================================
--- trunk/core/src/classpath/vm/java/lang/ClassLoader.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/classpath/vm/java/lang/ClassLoader.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -742,7 +742,7 @@
* Avoid trying to load the given class via its parent classloader?
*
* @param name
- * @return
+ * @return {@code true} if the parent classloader should be skipped.
*/
public boolean skipParentLoader(String name) {
return false;
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/LiveRange.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/LiveRange.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/LiveRange.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -28,9 +28,6 @@
private int assignAddress;
private int lastUseAddress;
- /**
- *
- */
public LiveRange(Variable<T> v) {
this.variable = v;
this.assignAddress = v.getAssignAddress();
@@ -46,9 +43,6 @@
return variable;
}
- /**
- * @see java.lang.Comparable#compareTo(java.lang.Object)
- */
public int compareTo(LiveRange<T> other) {
return assignAddress - other.getVariable().getAssignAddress();
}
@@ -64,28 +58,28 @@
}
/**
- * @return
+ * @return the address at which the variable is assigned
*/
public int getAssignAddress() {
return assignAddress;
}
/**
- * @return
+ * @return the address at which the variable is last used
*/
public int getLastUseAddress() {
return lastUseAddress;
}
/**
- * @return
+ * @return the assigned register location
*/
public Location<T> getLocation() {
return variable.getLocation();
}
/**
- * @param loc
+ * @param loc the assigned register location
*/
public void setLocation(Location<T> loc) {
variable.setLocation(loc);
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/PhiOperand.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/PhiOperand.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/PhiOperand.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -70,7 +70,7 @@
}
/**
- * @return
+ * @return the sources
*/
public List<Operand<T>> getSources() {
return sources;
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/Variable.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/Variable.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/Variable.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -46,14 +46,14 @@
}
/**
- * @return
+ * @return the variable's index
*/
public int getIndex() {
return index;
}
/**
- * @return
+ * @return the variable's SSA value
*/
public int getSSAValue() {
return ssaValue;
@@ -71,14 +71,14 @@
/**
* Returns the AssignQuad where this variable was last assigned.
*
- * @return
+ * @return the Quad.
*/
public AssignQuad<T> getAssignQuad() {
return assignQuad;
}
/**
- * @return
+ * @return the address of the last use of this variable.
*/
public int getLastUseAddress() {
return lastUseAddress;
@@ -115,7 +115,7 @@
}
/**
- * @return
+ * @return the assigned variable location
*/
public Location<T> getLocation() {
return this.location;
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/quad/BinaryQuad.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/quad/BinaryQuad.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/quad/BinaryQuad.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -341,7 +341,7 @@
* simplify will combine phi references and propagate copies
* This method will also update liveness of operands by setting last use addr
*
- * @see org.jnode.vm.compiler.ir.quad.Quad#doPass2(org.jnode.util.BootableHashMap)
+ * @see org.jnode.vm.compiler.ir.quad.Quad#doPass2()
*/
public void doPass2() {
refs[0] = refs[0].simplify();
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/quad/BranchQuad.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/quad/BranchQuad.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/quad/BranchQuad.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -45,14 +45,14 @@
}
/**
- * @return
+ * @return the start address of the target block
*/
public int getTargetAddress() {
return targetBlock.getStartPC();
}
/**
- * @return
+ * @return the target block
*/
public IRBasicBlock<T> getTargetBlock() {
return targetBlock;
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/quad/ConditionalBranchQuad.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/quad/ConditionalBranchQuad.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/quad/ConditionalBranchQuad.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -121,21 +121,21 @@
}
/**
- * @return
+ * @return the first operand
*/
public Operand<T> getOperand1() {
return refs[0];
}
/**
- * @return
+ * @return the second operand
*/
public Operand<T> getOperand2() {
return refs[1];
}
/**
- * @return
+ * @return the branch condition
*/
public BranchCondition getCondition() {
return condition;
@@ -152,9 +152,6 @@
}
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#doPass2(org.jnode.util.BootableHashMap)
- */
public void doPass2() {
refs[0] = refs[0].simplify();
if (refs.length > 1 && refs[1] != null) {
@@ -162,9 +159,6 @@
}
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#generateCode(org.jnode.vm.compiler.ir.CodeGenerator)
- */
public void generateCode(CodeGenerator<T> cg) {
// cg.generateCodeFor(this);
if (condition.isBinary()) {
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/quad/ConstantRefAssignQuad.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/quad/ConstantRefAssignQuad.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/quad/ConstantRefAssignQuad.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -56,37 +56,24 @@
}
/**
- * @return
+ * @return the RHS of the assignment
*/
public Constant<T> getRHS() {
return rhs;
}
- /**
- * @param operand
- * @return
- */
public Operand<T> propagate(Variable<T> operand) {
setDeadCode(true);
return rhs;
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#doPass2(org.jnode.util.BootableHashMap)
- */
public void doPass2() {
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#generateCode(org.jnode.vm.compiler.ir.CodeGenerator)
- */
public void generateCode(CodeGenerator<T> cg) {
cg.generateCodeFor(this);
}
- /**
- * @see org.jnode.vm.compiler.ir.AssignQuad#getLHSLiveAddress()
- */
public int getLHSLiveAddress() {
return this.getAddress() + 1;
}
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/quad/PhiAssignQuad.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/quad/PhiAssignQuad.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/quad/PhiAssignQuad.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -54,47 +54,29 @@
return phi;
}
- /**
- * @see org.jnode.vm.compiler.ir.quad.AssignQuad#propagate(org.jnode.vm.compiler.ir.Variable)
- */
public Operand<T> propagate(Variable<T> operand) {
return operand;
}
- /**
- * @see org.jnode.vm.compiler.ir.quad.AssignQuad#getLHSLiveAddress()
- */
public int getLHSLiveAddress() {
// TODO Auto-generated method stub
return 0;
}
- /**
- * @see org.jnode.vm.compiler.ir.quad.Quad#getReferencedOps()
- */
public Operand<T>[] getReferencedOps() {
// TODO Auto-generated method stub
return null;
}
- /**
- * @see org.jnode.vm.compiler.ir.quad.Quad#doPass2(org.jnode.util.BootableHashMap)
- */
public void doPass2() {
phi.simplify();
}
- /**
- * @see org.jnode.vm.compiler.ir.quad.Quad#generateCode(org.jnode.vm.compiler.ir.CodeGenerator)
- */
public void generateCode(CodeGenerator cg) {
// TODO Auto-generated method stub
}
- /**
- * @see java.lang.Object#equals(java.lang.Object)
- */
public boolean equals(Object obj) {
if (obj instanceof PhiAssignQuad) {
PhiAssignQuad<T> paq = (PhiAssignQuad<T>) obj;
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/quad/Quad.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/quad/Quad.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/quad/Quad.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -89,7 +89,7 @@
}
/**
- * @return
+ * @return {@code true} if this is dead code.
*/
public boolean isDeadCode() {
return deadCode;
@@ -103,7 +103,7 @@
}
/**
- * @return
+ * @return the basic block
*/
public IRBasicBlock<T> getBasicBlock() {
return basicBlock;
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/quad/UnaryQuad.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/quad/UnaryQuad.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/quad/UnaryQuad.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -51,22 +51,19 @@
refs = new Operand[]{getOperand(varIndex)};
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#getReferencedOps()
- */
public Operand<T>[] getReferencedOps() {
return refs;
}
/**
- * @return
+ * @return the operand
*/
public Operand<T> getOperand() {
return refs[0];
}
/**
- * @return
+ * @return the operation
*/
public UnaryOperation getOperation() {
return operation;
@@ -77,11 +74,8 @@
operation.name() + " " + refs[0].toString();
}
- /**
- * @see org.jnode.vm.compiler.ir.AssignQuad#propagate(org.jnode.vm.compiler.ir.Variable)
- */
- // TODO should fold constants, see BinaryQuad::propagate(...)
public Operand<T> propagate(Variable<T> operand) {
+ // TODO should fold constants, see BinaryQuad::propagate(...)
Quad<T> quad = foldConstants();
if (quad instanceof ConstantRefAssignQuad) {
//setDeadCode(true);
@@ -180,16 +174,10 @@
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#doPass2(org.jnode.util.BootableHashMap)
- */
public void doPass2() {
refs[0] = refs[0].simplify();
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#generateCode(org.jnode.vm.compiler.ir.CodeGenerator)
- */
public void generateCode(CodeGenerator<T> cg) {
Variable<T> lhs = getLHS();
Location<T> lhsLoc = lhs.getLocation();
@@ -241,9 +229,6 @@
}
}
- /**
- * @see org.jnode.vm.compiler.ir.AssignQuad#getLHSLiveAddress()
- */
public int getLHSLiveAddress() {
return this.getAddress() + 1;
}
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/quad/UnconditionalBranchQuad.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/quad/UnconditionalBranchQuad.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/quad/UnconditionalBranchQuad.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -36,16 +36,10 @@
super(address, block, targetAddress);
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#getDefinedOp()
- */
public Operand<T> getDefinedOp() {
return null;
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#getReferencedOps()
- */
public Operand<T>[] getReferencedOps() {
return null;
}
@@ -54,15 +48,9 @@
return getAddress() + ": goto " + getTargetBlock();
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#doPass2(org.jnode.util.BootableHashMap)
- */
public void doPass2() {
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#generateCode(org.jnode.vm.compiler.ir.CodeGenerator)
- */
public void generateCode(CodeGenerator<T> cg) {
cg.generateCodeFor(this);
}
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VarReturnQuad.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VarReturnQuad.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VarReturnQuad.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -38,20 +38,17 @@
refs = new Operand[]{getOperand(varIndex)};
}
- /**
- * @see org.jnode.vm.compiler.ir.quad.Quad#getDefinedOp()
- */
public Operand<T> getDefinedOp() {
return null;
}
- /**
- * @see org.jnode.vm.compiler.ir.quad.Quad#getReferencedOps()
- */
public Operand<T>[] getReferencedOps() {
return refs;
}
+ /**
+ * @return the operand for the 'return'
+ */
public Operand<T> getOperand() {
return refs[0];
}
@@ -60,16 +57,10 @@
return getAddress() + ": return " + refs[0];
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#doPass2(org.jnode.util.BootableHashMap)
- */
public void doPass2() {
refs[0] = refs[0].simplify();
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#generateCode(org.jnode.vm.compiler.ir.CodeGenerator)
- */
public void generateCode(CodeGenerator<T> cg) {
cg.generateCodeFor(this);
}
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VariableRefAssignQuad.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VariableRefAssignQuad.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VariableRefAssignQuad.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -51,9 +51,6 @@
refs = new Operand[]{rhs};
}
- /**
- * @see org.jnode.vm.compiler.ir.quad.Quad#getReferencedOps()
- */
public Operand<T>[] getReferencedOps() {
return refs;
}
@@ -63,40 +60,27 @@
}
/**
- * @return
+ * @return the RHS of the assignment
*/
public Operand<T> getRHS() {
return refs[0];
}
- /**
- * @param operand
- * @return
- */
public Operand<T> propagate(Variable<T> operand) {
setDeadCode(true);
return refs[0];
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#doPass2(org.jnode.util.BootableHashMap)
- */
- // This operation will almost always become dead code, but I wanted to play it
- // safe and compute liveness assuming it might survive.
public void doPass2() {
+ // This operation will almost always become dead code, but I wanted to play it
+ // safe and compute liveness assuming it might survive.
refs[0] = refs[0].simplify();
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#generateCode(org.jnode.vm.compiler.ir.CodeGenerator)
- */
public void generateCode(CodeGenerator<T> cg) {
cg.generateCodeFor(this);
}
- /**
- * @see org.jnode.vm.compiler.ir.AssignQuad#getLHSLiveAddress()
- */
public int getLHSLiveAddress() {
return this.getAddress() + 1;
}
Modified: trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VoidReturnQuad.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VoidReturnQuad.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/compiler/ir/quad/VoidReturnQuad.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -35,16 +35,10 @@
super(address, block);
}
- /**
- * @see org.jnode.vm.compiler.ir.quad.Quad#getDefinedOp()
- */
public Operand<T> getDefinedOp() {
return null;
}
- /**
- * @see org.jnode.vm.compiler.ir.quad.Quad#getReferencedOps()
- */
public Operand<T>[] getReferencedOps() {
return null;
}
@@ -53,15 +47,9 @@
return getAddress() + ": return";
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#doPass2(org.jnode.util.BootableHashMap)
- */
public void doPass2() {
}
- /**
- * @see org.jnode.vm.compiler.ir.Quad#generateCode(org.jnode.vm.compiler.ir.CodeGenerator)
- */
public void generateCode(CodeGenerator<T> cg) {
cg.generateCodeFor(this);
}
Modified: trunk/core/src/core/org/jnode/vm/isolate/LinkMessageFactory.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/isolate/LinkMessageFactory.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/isolate/LinkMessageFactory.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -33,7 +33,7 @@
* Create a LinkMessage containing the given link messages.
*
* @param messages
- * @return
+ * @return the LinkMessage
*/
public static LinkMessage newCompositeMessage(LinkMessage... messages) {
throw new UnsupportedOperationException();
@@ -43,7 +43,7 @@
* Create a LinkMessage containing the given data.
*
* @param bytes
- * @return
+ * @return the LinkMessage
*/
public static LinkMessage newDataMessage(byte[] bytes, int offset, int length) {
return new DataLinkMessage(bytes, offset, length);
@@ -53,7 +53,7 @@
* Create a LinkMessage containing the given isolate.
*
* @param isolate
- * @return
+ * @return the LinkMessage
*/
public static LinkMessage newIsolateMessage(VmIsolate isolate) {
throw new UnsupportedOperationException();
@@ -62,7 +62,7 @@
/**
* Create a LinkMessage containing the given link.
*
- * @return
+ * @return the LinkMessage
*/
public static LinkMessage newLinkMessage(Link link) {
return new LinkLinkMessage(((LinkImpl) link).getImpl());
@@ -71,7 +71,7 @@
/**
* Create a LinkMessage containing the given server socket.
*
- * @return
+ * @return the LinkMessage
*/
public static LinkMessage newServerSocketMessage(ServerSocket socket) {
throw new UnsupportedOperationException();
@@ -80,7 +80,7 @@
/**
* Create a LinkMessage containing the given socket.
*
- * @return
+ * @return the LinkMessage
*/
public static LinkMessage newSocketMessage(Socket socket) {
throw new UnsupportedOperationException();
@@ -90,7 +90,7 @@
* Create a LinkMessage containing the given string.
*
* @param string
- * @return
+ * @return the LinkMessage
*/
public static LinkMessage newStringMessage(String string) {
return new StringLinkMessage(string);
Modified: trunk/core/src/core/org/jnode/vm/isolate/VmIsolate.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/isolate/VmIsolate.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/isolate/VmIsolate.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -346,7 +346,7 @@
/**
* Gets the current isolate.
*
- * @return
+ * @return the current isolate
*/
public static VmIsolate currentIsolate() {
VmIsolate result = IsolatedStaticData.current;
@@ -377,7 +377,7 @@
/**
* Gets the isolate object that this object implements.
*
- * @return
+ * @return the exposed Isolate object
*/
public final Isolate getIsolate() {
return isolate;
@@ -574,7 +574,7 @@
/**
* Has this isolate reached the exited state.
*
- * @return
+ * @return {@code true} if the isolate has 'exited', otherwise {@code false}
*/
public final boolean hasExited() {
switch (state) {
@@ -589,7 +589,7 @@
/**
* Has this isolate reached the terminated state.
*
- * @return
+ * @return {@code true} if the isolate has 'terminated', otherwise {@code false}
*/
public final boolean hasTerminated() {
switch (state) {
@@ -603,7 +603,7 @@
/**
* Has this isolate reached the started state.
*
- * @return
+ * @return {@code true} if the isolate has been 'started', otherwise {@code false}
*/
public final boolean hasStarted() {
switch (state) {
Modified: trunk/core/src/core/org/jnode/vm/isolate/VmIsolateLocal.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/isolate/VmIsolateLocal.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/isolate/VmIsolateLocal.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -38,7 +38,7 @@
/**
* Gets the stored object reference.
*
- * @return
+ * @return the stored object reference
*/
public T get() {
if (VmIsolate.isRoot()) {
Modified: trunk/core/src/core/org/jnode/vm/isolate/VmLink.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/isolate/VmLink.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/isolate/VmLink.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -52,7 +52,7 @@
*
* @param sender
* @param receiver
- * @return
+ * @return the new Link
*/
public static Link newLink(VmIsolate sender, VmIsolate receiver) {
if (sender == receiver) {
@@ -78,7 +78,7 @@
/**
* Gets this shared link as Link instance.
*
- * @return
+ * @return the Link instance
*/
public final Link asLink() {
final LinkImpl link = linkHolder.get();
@@ -110,7 +110,7 @@
/**
* Is this link currently open.
*
- * @return
+ * @return {@code true} if the link is open, otherwise {@code false}.
*/
final boolean isOpen() {
return !closed;
Modified: trunk/core/src/core/org/jnode/vm/memmgr/VmHeapManager.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/memmgr/VmHeapManager.java 2009-03-22 14:45:17 UTC (rev 5143)
+++ trunk/core/src/core/org/jnode/vm/memmgr/VmHeapManager.java 2009-03-23 09:49:28 UTC (rev 5144)
@@ -394,9 +394,9 @@
}
/**
- * Output a debug message controlled by the heap trace flags.
+ * Output a a number as debug message controlled by the heap trace flags.
*
- * @param text
+ * @param number
*/
protected void debug(int number) {
if ((heapFlags & TRACE_FLAGS) != 0) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|