RFR: 8343824: Remove unused InstructionFlags in C1

Thomas Schatzl tschatzl at openjdk.org
Fri Nov 8 19:52:59 UTC 2024


On Fri, 8 Nov 2024 17:46:49 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Hi all,
>> 
>>   please review this change that removes unused/unreferenced flags from the `Instruction::InstructionFlag` enum for the C1 compiler.
>> 
>> Testing: gha, tier1-3
>> 
>> Thanks,
>>   Thomas
>
> @tschatzl do you know history of these flags and why they are not used?

@vnkozlov: no and no - I am just starting looking at the C1 compiler to implement frequency based generation of post-write barrier filters (i.e. add the counters for later C2 compilation) as a follow-up to the post-write barrier changes. I only noticed that they were unused; looking back right now they are unused since at least JDK7u.

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

PR Comment: https://git.openjdk.org/jdk/pull/21973#issuecomment-2465632718


More information about the hotspot-compiler-dev mailing list