RFR (XS) 8212609: Minimal VM build failure after JDK-8210498 (nmethod entry barriers)

Erik Osterlund erik.osterlund at oracle.com
Wed Oct 17 16:27:41 UTC 2018


Hi Alexey,

Ship it.

Thanks,
/Erik

> On 17 Oct 2018, at 18:26, Aleksey Shipilev <shade at redhat.com> wrote:
> 
> I'd like to treat this fix as trivial, and push it without further testing. Okay with everyone?
> 
> -Aleksey
> 
>> On 10/17/2018 06:08 PM, Erik Osterlund wrote:
>> Hi Aleksey,
>> 
>> Looks good. Thanks for fixing.
>> 
>> /Erik
>> 
>>> On 17 Oct 2018, at 17:47, Aleksey Shipilev <shade at redhat.com> wrote:
>>> 
>>> Bug:
>>> https://bugs.openjdk.java.net/browse/JDK-8212609
>>> 
>>> Fix:
>>> 
>>> diff -r cba34f27d9ce src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp
>>> --- a/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp      Wed Oct 17 22:06:55 2018 +0800
>>> +++ b/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp      Wed Oct 17 17:42:14 2018 +0200
>>> @@ -34,6 +34,8 @@
>>> #include "code/vtableStubs.hpp"
>>> #include "gc/shared/collectedHeap.hpp"
>>> #include "gc/shared/gcLocker.hpp"
>>> +#include "gc/shared/barrierSet.hpp"
>>> +#include "gc/shared/barrierSetAssembler.hpp"
>>> #include "interpreter/interpreter.hpp"
>>> #include "logging/log.hpp"
>>> #include "memory/resourceArea.hpp"
>>> 
>>> 
>>> I contemplated ifdef-ing the actual call to BSAsm here:
>>> 
>>> BarrierSetAssembler* bs = BarrierSet::barrier_set()->barrier_set_assembler();
>>> bs->nmethod_entry_barrier(masm);
>>> 
>>> ...but thought it is cleaner to let barrier BSAsm figure out whatever compiler-specific thing needs
>>> to be done.
>>> 
>>> Testing: x86_64-minimal builds
>>> 
>>> Thanks,
>>> -Aleksey
>>> 
>> 
> 
> 



More information about the hotspot-dev mailing list