RFR: JDK-8241503: C2: Share MacroAssembler between mach nodes during code emission

Lutz Schmidt lucy at openjdk.org
Fri Mar 22 22:18:28 UTC 2024


On Sat, 16 Dec 2023 05:03:20 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:

>> `s390x` also run into assert failure: `assert(masm->inst_mark() == nullptr) failed: should be.`
>> 
>> 
>> V  [libjvm.so+0xfb0938]  PhaseOutput::fill_buffer(C2_MacroAssembler*, unsigned int*)+0x2370  (output.cpp:1812)
>> V  [libjvm.so+0xfb21ce]  PhaseOutput::Output()+0xcae  (output.cpp:362)
>> V  [libjvm.so+0x6a90a8]  Compile::Code_Gen()+0x460  (compile.cpp:2989)
>> V  [libjvm.so+0x6ad848]  Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1738  (compile.cpp:887)
>> V  [libjvm.so+0x4fb932]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x14a  (c2compiler.cpp:119)
>> V  [libjvm.so+0x6b81a2]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0xd9a  (compileBroker.cpp:2282)
>> V  [libjvm.so+0x6b8eaa]  CompileBroker::compiler_thread_loop()+0x5a2  (compileBroker.cpp:1943)
>
>>@offamitkumar, @TheRealMDoerr - can you please re-run the tests on the platforms convenient for you?
> 
> I run build for fastdebug & release VMs and tier1 test for fastdebug VM. Everything seems good.

Sorry, became aware of this only now. I will try to set aside some spare time. @offamitkumar can you please run some tests on the PR?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16484#issuecomment-2016011326


More information about the shenandoah-dev mailing list