Changeset 12082
- Timestamp:
- 08/01/09 07:58:15 (14 years ago)
- Location:
- trunk/abcl/src/org/armedbear/lisp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/LispThread.java
r12080 r12082 835 835 { 836 836 StackFrame s = stack; 837 838 for (int i = 0; i < 8; i++) { 839 if (s == null) 840 break; 841 LispObject operator = s.operator; 842 if (operator != null) { 843 operator.incrementHotCount(); 844 operator.incrementCallCount(); 845 } 846 s = s.next; 847 } 848 837 849 while (s != null) { 838 850 LispObject operator = s.operator; -
trunk/abcl/src/org/armedbear/lisp/Profiler.java
r12080 r12082 69 69 if (object != null) { 70 70 object.setCallCount(0); 71 object.setHotCount(0); 71 72 if (object instanceof StandardGenericFunction) { 72 73 LispObject methods = … … 75 76 StandardMethod method = (StandardMethod) methods.car(); 76 77 method.getFunction().setCallCount(0); 78 method.getFunction().setHotCount(0); 77 79 methods = methods.cdr(); 78 80 }
Note: See TracChangeset
for help on using the changeset viewer.