From: Jan S. <st...@us...> - 2002-05-16 11:35:25
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl In directory usw-pr-cvs1:/tmp/cvs-serv20003 Modified Files: VirtualMachineImpl.java Log Message: Process field added. Index: VirtualMachineImpl.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/VirtualMachineImpl.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** VirtualMachineImpl.java 6 May 2002 18:04:16 -0000 1.5 --- VirtualMachineImpl.java 16 May 2002 11:35:22 -0000 1.6 *************** *** 38,42 **** --- 38,48 ---- private IProf iprof; private boolean isSuspendedVM; + private Process process=null; + /** + * Creates new VirtualMachineImpl. + * + * @param iprof corresponding <code>IProf</code> object. + */ public VirtualMachineImpl(IProf iprof) { this.iprof=iprof; *************** *** 44,47 **** --- 50,64 ---- /** + * Creates new VirtualMachineImpl. + * + * @param iprof corresponding <code>IProf</code> object. + * @param process corresponding <code>Process</code> object. + */ + public VirtualMachineImpl(IProf iprof, Process process) { + this.iprof=iprof; + this.process=process; + } + + /** * Enables/disables the garbage collection in the mirrored virtual machine. * *************** *** 92,98 **** * or <code>null</code> if it was not launched by a launching connector. */ ! public Process process() { ! //PENDING ! return null; } --- 109,114 ---- * or <code>null</code> if it was not launched by a launching connector. */ ! public Process process() { ! return process; } *************** *** 337,340 **** --- 353,359 ---- /* * $Log$ + * Revision 1.6 2002/05/16 11:35:22 stolis + * Process field added. + * * Revision 1.5 2002/05/06 18:04:16 vachis * temporary thing, only for compilation |