<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I saw this JEP draft today: <a href="https://openjdk.org/jeps/8303167">
https://openjdk.org/jeps/8303167</a>. It suggests deprecating the 32-bit Windows port of OpenJDK.<o:p></o:p></p>
<p class="MsoNormal">And even though it’s “just a draft” it does mention Java 21 (which is pretty soon), so I thought I might as well put in my “two cents” now instead of waiting to see whether or not this ends up going anywhere.<o:p></o:p></p>
<p class="MsoNormal">The draft is written as though the (primary?) purpose of the port is to support running Java on 32-bit versions of Windows.<o:p></o:p></p>
<p class="MsoNormal">Those are indeed very rare, and getting even rarer. But I appreciate the 32-bit builds even though I haven’t run a 32-bit version of Windows in ages.<o:p></o:p></p>
<p class="MsoNormal">Unlike MacOS, it is possible (and effortless) to run 32-bit executables on 64-bit Windows. There are at least 2 reasons to do so:<o:p></o:p></p>
<p class="MsoNormal">The obvious reason is that maybe someone has some native code they’re calling via JNI, and they don’t have a 64-bit version handy.<o:p></o:p></p>
<p class="MsoNormal">The other reason is perhaps less obvious, and perhaps I’m the only person in the world who considers this a “reason” at all, but it motivated me to write this email so here it is:<o:p></o:p></p>
<p class="MsoNormal">The restriction to 32-bits is pretty effective as a poor man’s substitute for a proper sandbox.<o:p></o:p></p>
<p class="MsoNormal">For example, the draft JEP talks about Project loom, a topic near and dear to me. When I first heard of Project loom, I wanted to run two silly experiments.<o:p></o:p></p>
<p class="MsoNormal">The first experiment was to launch as many “platform” threads as I could, and thus get a feel for how much they “cost”. The second experiment was to do the same for “virtual” threads.<o:p></o:p></p>
<p class="MsoNormal">I actually carried out the first experiment, on a 32-bit JVM. I did not dare to try the same experiment on a 64-bit JVM.<o:p></o:p></p>
<p class="MsoNormal">The reason is that I knew that with a 32-bit JVM, I would run out of address space before anything bad happened.<o:p></o:p></p>
<p class="MsoNormal">But if I tried the same thing with a 64-bit JVM, then for all I know I might bring my poor laptop to its knees and might even be forced to restart.<o:p></o:p></p>
<p class="MsoNormal">I’ve been eagerly awaiting Alexey Shipilev’s 32-bit port (is anyone else besides him working on this?) ever since then so I could try the “loom” part of the experiment.<o:p></o:p></p>
<p class="MsoNormal">I’ll be a bit disappointed if it never appears.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Anyway, that’s my two cents; thanks if you read this far.<o:p></o:p></p>
</div>
<P><SPAN lang=EN-US style="mso-ansi-language: EN-US">This message is for
information purposes only. It is not a recommendation, advice, offer or
solicitation to buy or sell a product or service, nor an official confirmation
of any transaction. It is directed at persons who are professionals and is
intended for the recipient(s) only. It is not directed at retail customers. This
message is subject to the terms at: <A
href="https://www.cib.barclays/disclosures/web-and-email-disclaimer.html">https://www.cib.barclays/disclosures/web-and-email-disclaimer.html</A>.
</SPAN></P>
<P><SPAN lang=EN-US style="mso-ansi-language: EN-US">For important disclosures,
please see: <A
href="https://www.cib.barclays/disclosures/sales-and-trading-disclaimer.html">https://www.cib.barclays/disclosures/sales-and-trading-disclaimer.html</A>
regarding marketing commentary from Barclays Sales and/or Trading desks, who are
active market participants; <A
href="https://www.cib.barclays/disclosures/barclays-global-markets-disclosures.html">https://www.cib.barclays/disclosures/barclays-global-markets-disclosures.html</A>
regarding our standard terms for Barclays Corporate and Investment Bank where we
trade with you in principal-to-principal wholesale markets transactions; and in
respect to Barclays Research, including disclosures relating to specific
issuers, see: <A
href="http://publicresearch.barclays.com">http://publicresearch.barclays.com</A>.<BR>__________________________________________________________________________________
<BR>If you are incorporated or operating in Australia, read these important
disclosures: <A
href="https://www.cib.barclays/disclosures/important-disclosures-asia-pacific.html">https://www.cib.barclays/disclosures/important-disclosures-asia-pacific.html</A>.<BR>__________________________________________________________________________________<BR>For
more details about how we use personal information, see our privacy notice: <A
href="https://www.cib.barclays/disclosures/personal-information-use.html">https://www.cib.barclays/disclosures/personal-information-use.html</A>.
<BR>__________________________________________________________________________________<BR></O:P></SPAN></P>
</body>
</html>