In defense of the Windows x86-32 Port
mark.yagnatinsky at barclays.com
mark.yagnatinsky at barclays.com
Tue Feb 28 17:12:04 UTC 2023
Yes, of course, but my interest in its survival is mostly not about deployment. I want to be able to play with NEW features on 32-bit builds.
(I'm perfectly happy to deploy 64-bit builds.)
-----Original Message-----
From: Andrew Dinn <adinn at redhat.com>
Sent: Tuesday, February 28, 2023 4:33 AM
To: Yagnatinsky, Mark : Markets Pre Trade <mark.yagnatinsky at barclays.com>; jdk-dev at openjdk.java.net
Subject: Re: In defense of the Windows x86-32 Port
Hi Mark,
Please do note that the JEP is merely proposing to deprecate the Windows
x86-32 port in JDK21. The implication of that is that removal will occur in a later release. So, the port will still be retained, and maintained, in the JDK17u and JDK21u long term support (LTS) releases i.e. x86-32 will still be an option for deployment well beyond the arrival of JDK22.
regards,
Andrew Dinn
-----------
Red Hat Distinguished Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill
On 26/02/2023 05:09, mark.yagnatinsky at barclays.com wrote:
> I saw this JEP draft today: https://openjdk.org/jeps/8303167
> <https://openjdk.org/jeps/8303167>. It suggests deprecating the
> 32-bit Windows port of OpenJDK.
>
> 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.
>
> The draft is written as though the (primary?) purpose of the port is
> to support running Java on 32-bit versions of Windows.
>
> 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.
>
> 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:
>
> 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.
>
> 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:
>
> The restriction to 32-bits is pretty effective as a poor man’s
> substitute for a proper sandbox.
>
> 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.
>
> 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.
>
> 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.
>
> The reason is that I knew that with a 32-bit JVM, I would run out of
> address space before anything bad happened.
>
> 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.
>
> 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.
>
> I’ll be a bit disappointed if it never appears.
>
> Anyway, that’s my two cents; thanks if you read this far.
>
> 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:
> https://www.cib.barclays/disclosures/web-and-email-disclaimer.html
> <https://www.cib.barclays/disclosures/web-and-email-disclaimer.html>.
>
> For important disclosures, please see:
> https://www.cib.barclays/disclosures/sales-and-trading-disclaimer.html
> <https://www.cib.barclays/disclosures/sales-and-trading-disclaimer.htm
> l> regarding marketing commentary from Barclays Sales and/or Trading
> desks, who are active market participants;
> https://www.cib.barclays/disclosures/barclays-global-markets-disclosures.html <https://www.cib.barclays/disclosures/barclays-global-markets-disclosures.html> 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: http://publicresearch.barclays.com <http://publicresearch.barclays.com>.
> ______________________________________________________________________
> ____________ If you are incorporated or operating in Australia, read
> these important
> disclosures:
> https://www.cib.barclays/disclosures/important-disclosures-asia-pacific.html <https://www.cib.barclays/disclosures/important-disclosures-asia-pacific.html>.
> ______________________________________________________________________
> ____________ For more details about how we use personal information,
> see our privacy
> notice:
> https://www.cib.barclays/disclosures/personal-information-use.html
> <https://www.cib.barclays/disclosures/personal-information-use.html>.
> ______________________________________________________________________
> ____________
>
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: https://www.cib.barclays/disclosures/web-and-email-disclaimer.html.
For important disclosures, please see: https://www.cib.barclays/disclosures/sales-and-trading-disclaimer.html regarding marketing commentary from Barclays Sales and/or Trading desks, who are active market participants; https://www.cib.barclays/disclosures/barclays-global-markets-disclosures.html 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: http://publicresearch.barclays.com.
__________________________________________________________________________________
If you are incorporated or operating in Australia, read these important disclosures: https://www.cib.barclays/disclosures/important-disclosures-asia-pacific.html.
__________________________________________________________________________________
For more details about how we use personal information, see our privacy notice: https://www.cib.barclays/disclosures/personal-information-use.html.
__________________________________________________________________________________
More information about the jdk-dev
mailing list