Ignore:
Timestamp:
Nov 6, 2009, 10:18:51 PM (10 years ago)
Author:
gz
Message:

heap utilization tweaks:

Changed %MAP-AREAS to take an area or list of areas, rather than min/max area codes. Make it accept symbolic area names as well.

Made HEAP-UTILIZATION accept some new keyword args:

  • :AREA can be used to restrict the area or areas walked, as in %map-areas.
  • :CLASSES, if true, causes it to classify objects by actual class rather than typecode.
  • :SORT specifies the order in which to print results, default is by name
  • :UNIT can be one of :KB :MB or :GB to show sizes in units other than bytes.

Added COLLECT-HEAP-UTILIZATION, which returns a list of (type count logical-size physical-size) instead of printing anything.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/x86-trap-support.lisp

    r13067 r13174  
    456456                                               (when (eq object x)
    457457                                                 (return-from watchedp t)))
    458                                            area-watched area-watched)))
     458                                           area-watched)))
    459459                        (let ((result nil))
    460460                          (with-other-threads-suspended
Note: See TracChangeset for help on using the changeset viewer.