GrowableArray<JavaVMOption> - how it works?

Kim Barrett kim.barrett at oracle.com
Thu Dec 3 01:49:43 UTC 2020


> On Dec 2, 2020, at 9:05 AM, Dmitry Samersoff <dms at samersoff.net> wrote:
> 
> Hello Kim,
> 
> Thank you!
> 
> As soon as we have c++14 enabled for jdk16,

Um, we have already enabled C++14 for JDK16.

> are there any plans to cleanup template usage in hs - add static_asserts etc?

static_asserts are not really sufficient, and may even make things
worse; in some situations they'll do little beyond adding to the error
novel.

Additional infrastructure (like Concepts (C++20), or something like
Boost.ConceptCheck) and idioms are what's needed for mechanical
checking and reporting.  Requirements documentation is useful even
with those, since such things can only do syntactic checks, not
semantics or performance.



More information about the hotspot-dev mailing list