2006/11/24, Gregory Shimansky <[EMAIL PROTECTED]>:
Alexey Petrenko wrote:
> 2006/11/24, Evgueni Brevnov <[EMAIL PROTECTED]>:
>> I believe classlib natives compile in release mode by default.
> Is that so? What about -Zi msvc option in makefiles?

The option doesn't help much if pdb files are not copied to bin
directory. Debugger just cannot find them.

Also while compiler generates some debugging info with -Zi, compiling
with lots of optimizations (-Ogityb1) makes debugging quite hard because
lots of local variables are optimized out, and their values cannot be
seen in debugger. I have to remove these optimization flags when I need
to debug classlib natives.
But MSDN says that -Zi is incompatible with the most of optimizations.
And I believe that it switch incompatible optimizations off.

Anyway. Let's stop reading docs...
Removing of -Zi option and $(VMDEBUG) variable from Windows make files
increasing JFCmark score by 5-10%!

>> Could you clarify the following:
>> >But it is impossible to build release version of the class library
>> >native code :(
>>
>> Thanks
>> Evgueni
>>
>> On 11/24/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
>> > Guys,
>> >
>> > we are talking a lot about performance last few days...
>> > But it is impossible to build release version of the class library
>> > native code :(
>> >
>> > This is absolutely needed feature if we want to talk about performance.
>> >
>> > Is there any volunteers in build system gurus who wants to fix the
>> > corresponding JIRA [1]? :)
>> >
>> > SY, Alexey
>> >
>> > [1] http://issues.apache.org/jira/browse/HARMONY-2310
>> >
>>
>


--
Gregory


Reply via email to