Is this a problem: Warning: Initializing RegisterImpl& to a NULL value.

Peter B. Kessler Peter.Kessler at Sun.COM
Mon Jun 9 12:11:33 PDT 2008


While building the solaris_sparc_compiler1 build (product or fastdebug)
on a new fclone from the hotspot-gc-hs repos, I get

     Compiling /net/analemma.SFBay/export/pbk/Workspaces/build/objArray-4396719-work/src/cpu/sparc/vm/sharedRuntime_sparc.cpp
     "..../src/cpu/sparc/vm/sharedRuntime_sparc.cpp", line 2724: Warning: Initializing RegisterImpl& to a NULL value.
     1 Warning(s) detected.

The builds continue, and the resulting VM seems to work.

The code in question is

     /* 2534 */    nmethod *SharedRuntime::generate_dtrace_nmethod(
                       MacroAssembler *masm, methodHandle method) {
                     ....
     /* 2723 */      VMRegPair zero;
     /* 2724 */      zero.set2(G0->as_VMReg());

A) I thought we wrote code that compiled without warnings.
B) I thought code that generated warnings caused the build to fail.

Should I worry about this exception?

			... peter



More information about the hotspot-dev mailing list