DataSegment

(since CACAO 0.97)

The new data segment functions search for values which can be reused, like read-only integer values or function addresses.

These numbers were generated with GNU Classpath 0.92 or 0.93-pre.

i386

hello

old:

LOG: [0x808ae70] Size of Code Area:             407.145 kB
LOG: [0x808ae70] Size of Data Area:              69.137 kB

new:

saved:

prop

old:

LOG: [0x808ae70] Size of Code Area:             791.646 kB
LOG: [0x808ae70] Size of Data Area:             176.320 kB

new:

saved:

MIPS64

hello

old:

LOG: [10077dc0] Size of Code Area:             469.680 kB
LOG: [10077dc0] Size of Data Area:             223.844 kB

new:

LOG: [10077dc0] Size of Code Area:             469.680 kB
LOG: [10077dc0] Size of Data Area:             164.562 kB

saved:

59.282 kB (27%)

prop

old:

LOG: [10077dc0] Size of Code Area:             767.211 kB
LOG: [10077dc0] Size of Data Area:             450.633 kB

new:

LOG: [10077dc0] Size of Code Area:             763.297 kB
LOG: [10077dc0] Size of Data Area:             353.035 kB

saved:

97.598 kb (22%)

MIPS32

hello

old:

LOG: [0x10053e70] Size of Code Area:             462.902 kB
LOG: [0x10053e70] Size of Data Area:             115.992 kB

new:

LOG: [0x10053e70] Size of Code Area:             462.902 kB
LOG: [0x10053e70] Size of Data Area:              86.672 kB

saved:

29.320 kb (25%)

prop

old:

LOG: [0x10053e70] Size of Code Area:             843.555 kB
LOG: [0x10053e70] Size of Data Area:             256.422 kB

new:

LOG: [0x10053e70] Size of Code Area:             843.555 kB
LOG: [0x10053e70] Size of Data Area:             201.570 kB

saved:

54.852 kB (21%)

POWERPC64

hello

old: TBA new: TBA saved: TBA

prop

old: TBA new: TBA saved:TBA

cacaowiki: DataSegment (last edited 2007-10-22 14:37:36 by ChristianThalinger)