[kaffe] kaffe debug output
Mark and Janice Juszczec
juszczec@hotmail.com
Sun Jan 4 15:04:02 2004
Hi folks
A few days ago I sent the output of running kaffe with -vmdebug ALL to the
list. Dalibor wondered why calls to initCollector()
were missing and suggested I use the CVS snapshot. Below is the output from
-vmdebug ALL with CVS code from 01/02/04.
initCollector() calls are present.
Why is it trying to add Klasses.jar to the classpath? Wasn't it replaced by
rt.jar?
Also, the 2nd to last line mentions freelist 0. Is this ok?
Does it makes sense to double check the alloc'd/free'd amounts of memory?
Mark
/usr/local/kaffeCVSsnapshot010204/jre/bin # ./kaffe-bin -ss 1M -ms 1M -mx 2M
-as 1M -vmdebug ALL FirstClass
You cannot debug the JIT in interpreter mode
pagealloc(1052672) => 0x1001d000
1052672 unused bytes in heap addr range
gc_system_alloc: 1052672 byte at 0x10015628
gc_primitive_free: freeing block 0x10015628 (101000 bytes, 101)
gc_primitive_free: added 0x101000 bytes @ 0x10015628 to freelist 20 @
0x1000d3c8
gc_primitive_alloc: got to allocate 0x4000 bytes
gc_primitive_alloc: found best_fit 0x10015628 diff 0xfd000 (0x101000 -
0x4000)
gc_primitive_alloc: splitted remaining 0xfd000 bytes @ 0x100156c8
gc_primitive_alloc: 0x4000 bytes from freelist @ 0x10015628
initCollector()
initCollector() done
initNativeThreads(0x100000)
gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x100156c8 diff 0xfc000 (0xfd000 -
0x1000)
gc_primitive_alloc: splitted remaining 0xfc000 bytes @ 0x100156f0
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x100156c8
gc_heap_malloc: small block 40 at 0x100156c8 free 0x100210c8
gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x100156f0 diff 0xfb000 (0xfc000 -
0x1000)
gc_primitive_alloc: splitted remaining 0xfb000 bytes @ 0x10015718
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x100156f0
gc_heap_malloc: small block 16 at 0x100156f0 free 0x100221c8
gc_primitive_alloc: got to allocate 0x3000 bytes
gc_primitive_alloc: found best_fit 0x10015718 diff 0xf8000 (0xfb000 -
0x3000)
gc_primitive_alloc: splitted remaining 0xf8000 bytes @ 0x10015790
gc_primitive_alloc: 0x3000 bytes from freelist @ 0x10015718
gc_heap_malloc: large block 8200 at 0x10023008
gc_primitive_alloc: got to allocate 0x2000 bytes
gc_primitive_alloc: found best_fit 0x10015790 diff 0xf6000 (0xf8000 -
0x2000)
gc_primitive_alloc: splitted remaining 0xf6000 bytes @ 0x100157e0
gc_primitive_alloc: 0x2000 bytes from freelist @ 0x10015790
gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x100157e0 diff 0xf5000 (0xf6000 -
0x1000)
gc_primitive_alloc: splitted remaining 0xf5000 bytes @ 0x10015808
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x100157e0
gc_heap_malloc: small block 56 at 0x100157e0 free 0x10028090
gc_heap_malloc: freelist 56 at 0x100157e0 free 0x100280c8
gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x10015808 diff 0xf4000 (0xf5000 -
0x1000)
gc_primitive_alloc: splitted remaining 0xf4000 bytes @ 0x10015830
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x10015808
allocating new thread, stack base 0x10029160-0x10029160
resumeThread 0x10029018
initNativeThreads(0x100000) done
utf8ConstInit()
gc_heap_malloc: freelist 36 at 0x100156c8 free 0x100210f0
gc_primitive_alloc: got to allocate 0x2000 bytes
gc_primitive_alloc: found best_fit 0x10015830 diff 0xf2000 (0xf4000 -
0x2000)
gc_primitive_alloc: splitted remaining 0xf2000 bytes @ 0x10015880
gc_primitive_alloc: 0x2000 bytes from freelist @ 0x10015830
gc_heap_malloc: large block 4104 at 0x1002a008
utf8ConstInit() done
initClasspath()
insertClasspath(): '.' append
gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x10015880 diff 0xf1000 (0xf2000 -
0x1000)
gc_primitive_alloc: splitted remaining 0xf1000 bytes @ 0x100158a8
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x10015880
gc_heap_malloc: small block 26 at 0x10015880 free 0x1002c0f0
gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x100158a8 diff 0xf0000 (0xf1000 -
0x1000)
gc_primitive_alloc: splitted remaining 0xf0000 bytes @ 0x100158d0
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x100158a8
gc_heap_malloc: small block 62 at 0x100158a8 free 0x1002d080
insertClasspath(): '/usr/local/kaffeCVSsnapshot010204/jre/lib/Klasses.jar'
append
gc_primitive_alloc: got to allocate 0x1000 bytes
gc_primitive_alloc: found best_fit 0x100158d0 diff 0xef000 (0xf0000 -
0x1000)
gc_primitive_alloc: splitted remaining 0xef000 bytes @ 0x100158f8
gc_primitive_alloc: 0x1000 bytes from freelist @ 0x100158d0
gc_heap_malloc: small block 78 at 0x100158d0 free 0x1002e068
gc_heap_free: memory 0x1002d080 size 64
gc_primitive_free: freeing block 0x100158a8 (1000 bytes, 1)
gc_primitive_free: added 0x1000 bytes @ 0x100158a8 to freelist 0 @
0x1000d378
/usr/local/kaffeCVSsnapshot010204/jre/bin # Process '-/bin/sh' (pid 6)
exited.
_________________________________________________________________
Worried about inbox overload? Get MSN Extra Storage now!
http://join.msn.com/?PAGE=features/es