This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: Re: GCJ vs. C++ in RAM]


Cool, thanks! Do you have any sense of how much of the heap space is dedicated to the garbage collector? In other words, if Java didn't have the Boehm garbage collector built into it, how much smaller would the heap be? I suspect that if we use C++, we'll use reference counting base classes or something along those lines, so we won't have the overhead of running the gc...

Vlad

Not quite. 4MB on disk, 4MB + 10MB = 14MB in RAM.

I have no idea what a similar C++ program would be. I am guessing that the executable could be half as large, but the heap would be similar for similar applications.

Dave.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]