Re: Jdialog not getting garbage collected



Hi,

It could be a problem with optimizer tool that I am using, because I
was using the optimizer as a stand-alone application, it does have a
reference to that dialog and that instance never gets garbage
collected. But when I use optimizer as a plug-in to the JBuilder IDE,
the reference is getting garbage collected.

Regards
Sarath


The bug you pointed to appeared only in beta, and has been both fixed
and closed. Do you mean a related one?
--
Roedy Green Canadian Mind Products
The Java Glossaryhttp://mindprod.com



.



Relevant Pages

  • Re: [EGN] Hoisting Loop Invariants (Was: Re: [EGN] Numerical Accuracy)
    ... >> circumvent the automatic optimizer have as their purpose vanity alone. ... > While this may be true of certain practices, hoisting loop invariants is ... the programmer has this knowledge, then the programmer should not use ... >> this scenario is the fact that the function uses a REFERENCE parameter ...
    (comp.programming)
  • Re: Problem with Garbage Collection
    ... garbage collector deletes the class from my first worker thread before the ... The specific purpose of GC.KeepAlive is to add a line of code that won't be optimized away and thus keeping a point in your code where you're guaranteed to have a reference to the object in that variable. ... The GC is very aggressive, and couple this with the optimizer which might notice that there's really no point in setting dlm to null, and you have the problem that the object in dlm is collected before GetObjectList returns, simply because that's the last point in your code ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: shared memory between processes
    ... > a register and then refer to the register, not the memory location, ... (I haven't checked the assembler output). ... > interlock and that the optimizer never removes the reference to the ... What do you mean by "reference to the actual memory location"? ...
    (comp.os.linux.development.system)
  • Re: Does binding to const-reference outperform copy-initialization from returned value?
    ... compiler inlines constValue.VirtualFunc, but it doesn't inline ... optimizer of Visual C++, right? ... namely polymorphism. ... Except that, in this particular code, the reference is guaranteed to be ...
    (microsoft.public.vc.language)
  • Re: reference VS. pointer
    ... The pointer is faster than reference! ... > There is no point in benchmarking most compiler performances in the ... Also when the optimizer is on, there is big chance it doesn't matter whether ...
    (comp.lang.cpp)