build warnings

Tony Printezis tony.printezis at oracle.com
Tue Sep 13 10:10:38 PDT 2011


FYI: I fixed the unnecessary comma issue below in the changeset for 
7089625 which is currently in the queue and should go in soon. Again, 
apologies for this.

Tony Printezis wrote:
> Tom,
>
> The first one was my fault, it's due to an extra comma I recently 
> introduced:
>
> typedef enum {
>   ...
>   ErgoHigh = 1 << ErgoLevelShift,
> } ErgoLevel;
>
> (I'm actually surprised none of the compilers threw an error!)
>
> I have the fix in a changeset I'm working on, but if anyone from the 
> GC group is going to push something soon please also fix this.
>
> Tony
>
> On 09/12/2011 05:28 PM, Tom Rodriguez wrote:
>> A few build warnings crept in recently.  The second set are caused 
>> passing an oop into err_msg because of the CHECK_UNHANDLED_OOPS code 
>> since oop is an object instead of a pointer.  I'm actually a little 
>> surprised we got a warning, since printf/print_cr never complains 
>> about this.
>>
>> tom
>>
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/gc_implementation/g1/g1ErgoVerbose.hpp", 
>> line 62: Warning: Identifier expected instead of "}".
>> 1 Warning(s) detected.p
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 355: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 356: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 358: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 359: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 361: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 362: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 102: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 117:     Where: While instantiating 
>> "specialized_oop_follow_contents<unsigned>(instanceRefKlass*, oop)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 117:     Where: Instantiated from non-template code.
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 102: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 119:     Where: While instantiating 
>> "specialized_oop_follow_contents<oop>(instanceRefKlass*, oop)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 119:     Where: Instantiated from non-template code.
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 182: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 192:     Where: While instantiating 
>> "specialized_oop_follow_contents<unsigned>(instanceRefKlass*, 
>> ParCompactionManager*, oop)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 192:     Where: Instantiated from non-template code.
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 182: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 194:     Where: While instantiating 
>> "specialized_oop_follow_contents<oop>(instanceRefKlass*, 
>> ParCompactionManager*, oop)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 194:     Where: Instantiated from non-template code.
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 406: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 419:     Where: While instantiating 
>> "specialized_oop_push_contents<unsigned>(instanceRefKlass*, 
>> PSPromotionManager*, oop)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 419:     Where: Instantiated from non-template code.
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 406: Warning: A non-POD object of type "oop" passed as a 
>> variable argument to function "FormatBuffer<256>::FormatBuffer(const 
>> char*, ...)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 421:     Where: While instantiating 
>> "specialized_oop_push_contents<oop>(instanceRefKlass*, 
>> PSPromotionManager*, oop)".
>> "/opt/jprt/temp/P1/170801.amurillo/source/src/share/vm/oops/instanceRefKlass.cpp", 
>> line 421:     Where: Instantiated from non-template code.
>> 126 Warning(s) detected.


More information about the hotspot-gc-dev mailing list