Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl
In directory usw-pr-cvs1:/tmp/cvs-serv15162
Modified Files:
VirtualMachineImpl.java
Log Message:
changed constructor code
Index: VirtualMachineImpl.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/VirtualMachineImpl.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** VirtualMachineImpl.java 23 Aug 2002 18:07:29 -0000 1.13
--- VirtualMachineImpl.java 3 Sep 2002 17:48:50 -0000 1.14
***************
*** 47,54 ****
*/
public VirtualMachineImpl(IProf iprof) {
! this.iprof=iprof;
! ImageR rt = new ImageR( iprof, false );
! realtime = rt;
! rt.getTimer().schedule(rt.getTimerTask(), 1000, 1000);
}
--- 47,51 ----
*/
public VirtualMachineImpl(IProf iprof) {
! this(iprof, null);
}
***************
*** 62,65 ****
--- 59,65 ----
this.iprof=iprof;
this.process=process;
+ ImageR rt = new ImageR( iprof, false );
+ realtime = rt;
+ rt.getTimer().schedule(rt.getTimerTask(), 1000, 1000);
}
***************
*** 281,284 ****
--- 281,287 ----
/*
* $Log$
+ * Revision 1.14 2002/09/03 17:48:50 petrul
+ * changed constructor code
+ *
* Revision 1.13 2002/08/23 18:07:29 petrul
* Refreshing thread scheduling and cancelling.
|