build warnings

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Tue Sep 13 19:22:37 UTC 2011


On 09/13/2011 07:30 PM, Tony Printezis wrote:
> Tom,
>
> Tom Rodriguez wrote:
>> No worries. We might want to fix all these and turn on -xwe so we don't let
>> warnings slip in again.
>
> I totally agree with this.

+1

>> The only other warning I see if a complaint about function signature
>> mismatches with qsort in block.cpp which is easy to fix. Warnings as errors
>> can be a pain but we don't want them to slip in so it's really the only way.
>
> I don't think it's a pain. Ensuring that the compilations are warning-free is
> very sensible. Additionally, I don't sit and look at the compilation output
> while doing a build to see if there are any warnings. So, ensuring that
> compilation fails if there are warnings is the only way to avoid introducing
> them in the future.

I don't know what the C++ equivalent to -Wall -Werr is, but we should have at 
least that enabled on all platforms IMHO.

I have tried to come up with a master's thesis proposal related to turning on 
more warnings and fixing the issues that comes up. It's not entirely easy to 
get it to sound like a research project... If someone wants to help out it 
would be appreciated and we do have good chances to get a student to actually 
go through with the project if it is properly designed.

Otherwise the backup is to hire a summer intern to do the work. But that won't 
happen until next summer, so if we can get some bugs out of there before that 
it would be awesome.
/Jesper

>
> Tony
>
>> Maybe we need to make it easy to turn off from make, something like:
>>
>> make WARNINGS_AS_ERRORS=
>>
>> for those times when it's just an annoyance.
>>
>> tom
>>
>> On Sep 13, 2011, at 10:10 AM, Tony Printezis wrote:
>>
>>> 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