<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr">
<div style=""></div>
<div style="">
<div>Hello,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I was checking out to see a hint of what’s the minimum microarchitecture is, which makes sense to require for OpenJDK. I was not very successful and it probably depends on compiler toolchain and distribution. Does somebody have some insights?</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Having said that I noticed the following:</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">The 20 years old netburst architecture has a test function but it’s not used to make feature decisions in the JDK, it is just used to construct a SSE feature string, where it can be safely removed (the feature flags are reported anyway, worst
case use cpu_family_description instead?)</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">VM_Version::is_netburst</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">If you want to keep it, it’s probably more consistent to rename it to is_intel_netburst</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">VM_Version::is_default_intel_cascadelake</div>
<div dir="ltr">VM_Version::is_intel_cascadelake</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Those two seem not to be used anywhere, can probably be removed as well.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><a rel="noreferrer noopener" href="https://github.com/openjdk/jdk/blob/2624324ac216aadc938a870075f6fad287fedf05/src/hotspot/cpu/x86/vm_version_x86.hpp#L716">https://github.com/openjdk/jdk/blob/2624324ac216aadc938a870075f6fad287fedf05/src/hotspot/cpu/x86/vm_version_x86.hpp#L716</a><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Greetings</div>
<div dir="ltr">Bernd</div>
<div id="ms-outlook-mobile-signature">
<div><br>
</div>
<div><br>
</div>
<div style="direction:ltr">-- </div>
<div style="direction:ltr">http://bernd.eckenfels.net</div>
</div>
</div>
</div>
</body>
</html>