RFR: 8295146: Clean up native code with newer C/C++ language features [v3]
Julian Waters
jwaters at openjdk.org
Tue Nov 15 12:34:04 UTC 2022
On Mon, 14 Nov 2022 13:06:28 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
>> Yep, just something that C++ does a little neater, at least in my view
>
> We (the HotSpot Group) have not discussed or approved the use of the new C++ attribute syntax, whether for standard attributes or compiler-specific ones. That involves an update to the Style Guide. I'm not convinced switching existing uses from compiler-specific `__attribute__` syntax to compiler-specific `[[attribute]]` syntax is worth the substantial code churn.
I was under the assumption that anything not listed under "Not discussed" or "Forbidden" was free game in HotSpot, I apologise for my goof since that isn't the case. That said, I am curious if there are any isolated conversations about the attribute syntax anywhere
-------------
PR: https://git.openjdk.org/jdk/pull/11081
More information about the serviceability-dev
mailing list