autoreleased with no pool in place - just leaking

Anthony Petrov anthony.petrov at oracle.com
Mon Jun 4 06:22:22 PDT 2012


Hi Tomas,

Attachments don't work well on this mailing list. Could you please post 
your patch inline, or upload it somewhere (e.g. cr.openjdk.java.net)?

--
best regards,
Anthony

On 06/02/12 10:54, Tomas Hurka wrote:
> Hi,
> when running Java2Demo with current JDK8 build, I have got the following warnings on the console:
>
> jdk8-tl thurka$ ./build/macosx-x86_64/j2sdk-image/bin/java -jar /Users/thurka/Projects/Source/Java2D/Java2Demo.jar
> 2012-06-02 08:44:23.751 java[4727:8107] *** __NSAutoreleaseNoPool(): Object 0x1002450d0 of class NSCFNumber autoreleased with no pool in place - just leaking
> 2012-06-02 08:44:23.753 java[4727:8107] *** __NSAutoreleaseNoPool(): Object 0x1001e3530 of class NSConcreteValue autoreleased with no pool in place - just leaking
> 2012-06-02 08:44:23.753 java[4727:8107] *** __NSAutoreleaseNoPool(): Object 0x100234090 of class NSCFNumber autoreleased with no pool in place - just leaking
> 2012-06-02 08:44:23.754 java[4727:8107] *** __NSAutoreleaseNoPool(): Object 0x1002cd7d0 of class NSConcreteValue autoreleased with no pool in place - just leaking
> 2012-06-02 08:44:23.754 java[4727:8107] *** __NSAutoreleaseNoPool(): Object 0x1002c0b70 of class NSCFDictionary autoreleased with no pool in place - just leaking
> jdk8-tl thurka$
>
> The attached patch fixes this warning. Should I file CR for it?
>
> Bye,
> --
> Tomas Hurka<mailto:tomas.hurka at oracle.com>
> NetBeans Profiler http://profiler.netbeans.org
> VisualVM http://visualvm.java.net
> Software Developer
> Oracle, Praha Czech Republic
>
>


More information about the macosx-port-dev mailing list