[Gc] Re: Testing GC on IA-64

Ludovic Courtès ludo at gnu.org
Mon Sep 14 03:25:08 PDT 2009


Ivan Maidanski <ivmai at mail.ru> writes:

> ludo at gnu.org (Ludovic CourtХs) wrote:
>> Hi Ivan,
>> 
>> Ivan Maidanski <ivmai at mail.ru> writes:
>> 
>> > Thanks. Could you also test CVS plus ivmai130a.diff
>> > (http://article.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/3141)
>> 
>> This one breaks things:
>> ...
>> ../pthread_support.c:910: error: redefinition of 'struct blocking_data'
>> ../pthread_support.c:939: error: conflicting types for 'GC_do_blocking'
>> ../include/private/../gc.h:1053: error: previous declaration of 'GC_do_blocking' was here
>> make[1]: *** [pthread_support.lo] Error 1
>
> Hmm... GC_do_blocking() is neither define nor used in pthread_support.c now (having applied the patches).
> It seems you forgot to apply ivmai130b.diff (http://article.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/3142)

Indeed, I was assuming the two patches were orthogonal.

The tests pass with these 2 patches applied, log attached.

Thanks,
Ludo’.

-------------- next part --------------
make[1]: Entering directory `/home/ludo/bdwgc/+build'
make  gctest leaktest middletest smashtest hugetest threadleaktest 
make[2]: Entering directory `/home/ludo/bdwgc/+build'
make[2]: `gctest' is up to date.
make[2]: `leaktest' is up to date.
make[2]: `middletest' is up to date.
make[2]: `smashtest' is up to date.
make[2]: `hugetest' is up to date.
make[2]: `threadleaktest' is up to date.
make[2]: Leaving directory `/home/ludo/bdwgc/+build'
make  check-TESTS
make[2]: Entering directory `/home/ludo/bdwgc/+build'
Switched to incremental mode
Emulating dirty bits with mprotect/signals
Completed 6 tests
Allocated 11603159 collectable objects
Allocated 1218 uncollectable objects
Allocated 7266696 atomic objects
Allocated 137760 stubborn objects
Finalized 13219/13219 objects - finalization is probably ok
Total number of bytes allocated is 659974680
Final heap size is 52936704 bytes
Collector appears to work
Completed 327 collections
PASS: gctest
Leaked composite object at 0x6000000000034eb0 (../tests/leak_test.c:19, sz=8, NORMAL)
	Caller at allocation:
		##PC##= 0x200000000017bde0

PASS: leaktest
Final heap size is 196608
PASS: middletest
GC_check_heap_block: found smashed heap objects:
0x6000000000040fb8 in or near object at 0x6000000000040f90(../tests/smash_test.c:21, sz=40)
	Caller at allocation:
		##PC##= 0x200000000017bde0
GC_check_heap_block: found smashed heap objects:
0x6000000000040fb8 in or near object at 0x6000000000040f90(../tests/smash_test.c:21, sz=40)
	Caller at allocation:
		##PC##= 0x200000000017bde0
GC_check_heap_block: found smashed heap objects:
0x60000000000ee1d8 in or near object at 0x60000000000ee1b0(../tests/smash_test.c:21, sz=40)
	Caller at allocation:
		##PC##= 0x200000000017bde0
0x6000000000040fb8 in or near object at 0x6000000000040f90(../tests/smash_test.c:21, sz=40)
	Caller at allocation:
		##PC##= 0x200000000017bde0
PASS: smashtest
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
PASS: hugetest
Leaked composite object at 0x6000000000034fb0 (../tests/thread_leak_test.c:14, sz=4, NORMAL)
	Caller at allocation:
		##PC##= 0x200000000008bc00

Leaked composite object at 0x6000000000034e30 (../tests/thread_leak_test.c:14, sz=4, NORMAL)
	Caller at allocation:
		##PC##= 0x200000000008bc00

Leaked composite object at 0x6000000000034eb0 (../tests/thread_leak_test.c:14, sz=4, NORMAL)
	Caller at allocation:
		##PC##= 0x200000000008bc00

Leaked composite object at 0x6000000000034df0 (../tests/thread_leak_test.c:14, sz=4, NORMAL)
	Caller at allocation:
		##PC##= 0x200000000008bc00

Leaked composite object at 0x6000000000034e70 (../tests/thread_leak_test.c:14, sz=4, NORMAL)
	Caller at allocation:
		##PC##= 0x200000000008bc00

PASS: threadleaktest
==================
All 6 tests passed
==================
make[2]: Leaving directory `/home/ludo/bdwgc/+build'
make[1]: Leaving directory `/home/ludo/bdwgc/+build'


More information about the Gc mailing list