RFR 8166501 : compilation error in stackwalk.cpp on some gccs

Coleen Phillimore coleen.phillimore at oracle.com
Thu Sep 22 17:07:07 UTC 2016


Looks good!  Thanks!
Coleen

On 9/22/16 12:04 PM, Brent Christian wrote:
> Hi,
>
> Looks like my 8165372 change broke the slowdebug build.  Please review 
> my fix (which also breaks up a pretty long line):
>
> --- a/src/share/vm/prims/stackwalk.cpp
> +++ b/src/share/vm/prims/stackwalk.cpp
> @@ -331,10 +331,12 @@
>      assert (use_frames_array(mode), "Bad mode for get live frame");
>      RegisterMap regMap(jt, true);
>      LiveFrameStream stream(jt, &regMap);
> -    return fetchFirstBatch(stream, stackStream, mode, skip_frames, 
> frame_count, start_index, frames_array, CHECK_NULL);
> +    return fetchFirstBatch(stream, stackStream, mode, skip_frames, 
> frame_count,
> +                           start_index, frames_array, THREAD);
>    } else {
>      JavaFrameStream stream(jt, mode);
> -    return fetchFirstBatch(stream, stackStream, mode, skip_frames, 
> frame_count, start_index, frames_array, CHECK_NULL);
> +    return fetchFirstBatch(stream, stackStream, mode, skip_frames, 
> frame_count,
> +                           start_index, frames_array, THREAD);
>    }
>  }
>
> Thanks!
> -Brent
>



More information about the hotspot-dev mailing list