RFR: Add missing include for new ResourceMark in ShenandoahCodeRoots

Aleksey Shipilev shade at redhat.com
Thu Nov 8 16:36:28 UTC 2018


On 11/08/2018 05:26 PM, Roman Kennke wrote:
> diff --git a/src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.cpp
> b/src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.cpp
> --- a/src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.cpp
> +++ b/src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.cpp
> @@ -27,6 +27,7 @@
>  #include "gc/shenandoah/shenandoahHeap.hpp"
>  #include "gc/shenandoah/shenandoahHeap.inline.hpp"
>  #include "gc/shenandoah/shenandoahCodeRoots.hpp"
> +#include "memory/resourceArea.hpp"
> 
>  ShenandoahParallelCodeCacheIterator::ShenandoahParallelCodeCacheIterator(const GrowableArray<CodeHeap*>* heaps) {
>    _length = heaps->length();

OK.

-Aleksey




More information about the shenandoah-dev mailing list