From eric.vergnaud at wanadoo.fr Sat Sep 14 08:42:12 2019 From: eric.vergnaud at wanadoo.fr (Eric Vergnaud) Date: Sat, 14 Sep 2019 16:42:12 +0800 Subject: Hi! Message-ID: <780620AE-1BC2-4E53-B1D6-CFFA17B90BD0@wanadoo.fr> Hi all, just a quick introduction. I have been in IT for 25 years, and had an unrelated life before IT. I have founded and been the CTO of a startup in the PalmPilot days, and have now been working for global banks for the past 15 years. On the technical side, I have created a cross-platform C++ framework, I hold patents on mobile computing, I have written 2 jvms for mobile platforms... I am an OSS contributor, notably to ANTLR, and to a new programming language called Prompto, which compiles to the Jvm. My interest in joining the OpenJDK effort is triggered by the announcement that Nashorn would be dropped in future releases, with no direct replacement. Not sure where to start, I guess I need to join the nashorn mailing list? Eric From martijnverburg at gmail.com Sat Sep 14 17:08:55 2019 From: martijnverburg at gmail.com (Martijn Verburg) Date: Sat, 14 Sep 2019 10:08:55 -0700 Subject: Hi! In-Reply-To: <780620AE-1BC2-4E53-B1D6-CFFA17B90BD0@wanadoo.fr> References: <780620AE-1BC2-4E53-B1D6-CFFA17B90BD0@wanadoo.fr> Message-ID: Hi Eric, Welcome to OpenJDK! If you get lost then adoption-discuss is a good place to ask newbie questions. Cheers, Martijn On Sat, 14 Sep 2019 at 01:42, Eric Vergnaud wrote: > Hi all, > > just a quick introduction. > I have been in IT for 25 years, and had an unrelated life before IT. > I have founded and been the CTO of a startup in the PalmPilot days, and > have now been working for global banks for the past 15 years. > On the technical side, I have created a cross-platform C++ framework, I > hold patents on mobile computing, I have written 2 jvms for mobile > platforms... > I am an OSS contributor, notably to ANTLR, and to a new programming > language called Prompto, which compiles to the Jvm. > My interest in joining the OpenJDK effort is triggered by the announcement > that Nashorn would be dropped in future releases, with no direct > replacement. > Not sure where to start, I guess I need to join the nashorn mailing list? > > Eric > > From fcassia at gmail.com Sat Sep 14 17:59:14 2019 From: fcassia at gmail.com (Fernando Cassia) Date: Sat, 14 Sep 2019 17:59:14 +0000 Subject: Hi! In-Reply-To: <780620AE-1BC2-4E53-B1D6-CFFA17B90BD0@wanadoo.fr> References: <780620AE-1BC2-4E53-B1D6-CFFA17B90BD0@wanadoo.fr> Message-ID: On 9/14/19, Eric Vergnaud wrote: > I am an OSS contributor, notably to ANTLR, and to a new programming language > called Prompto, which compiles to the Jvm. Very interesting. Please tell me more. A quick google search found nothing. It is also not listed on https://en.wikipedia.org/wiki/List_of_JVM_languages So #FAIL. ;) You might want to answer off-list. FC From vijay.pandit.ext at siemens.com Tue Sep 17 14:43:32 2019 From: vijay.pandit.ext at siemens.com (Pandit (EXT), Vijay) Date: Tue, 17 Sep 2019 14:43:32 +0000 Subject: JVM heap size issue in openjdk 8. In-Reply-To: References: <204039729B95B74D83C33FD9FC95170B01767CDB@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B01767F85@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B017680F9@INPNMMBX002.net.plm.eds.com> Message-ID: <204039729B95B74D83C33FD9FC95170B0176F411@INPNMMBX002.net.plm.eds.com> Hi Andrew, Due to some change in Siemens policy I need to use Oracle Open JDK 8. The url (https://adoptopenjdk.net/upstream.html ) mentioned below is not if Oracle Open JDK. I was trying to refer to http://jdk.java.net/java-se-ri/8 , but correct version I am not getting it. Could you please provide me the url from where I can download Oracle OpenJDK 8 for Windows 10 64 bit ? Thanks Vijay Pandit -----Original Message----- From: Andrew Haley Sent: Wednesday, July 17, 2019 3:11 PM To: Pandit (EXT), Vijay (DI SW LCS APPS SA&S) ; Thomas Schatzl ; discuss at openjdk.java.net Subject: Re: JVM heap size issue in openjdk 8. On 7/17/19 8:06 AM, Pandit (EXT), Vijay wrote: > Can I download "RI Source Code" from https://jdk.java.net/java-se-ri/8 for openjdk8 64 bit? You can download the binaries from many places, but my personal recommendation is https://adoptopenjdk.net/upstream.html -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671 From keith at deenlo.com Tue Sep 17 19:45:55 2019 From: keith at deenlo.com (Keith Turner) Date: Tue, 17 Sep 2019 15:45:55 -0400 Subject: Concurrent Hash Map javadoc question Message-ID: The javadoc for ConcurrentHashMap.computeIfAbsent() states the remapping function is applied at most once. The functions computeIfPresent() and compute() do not explicitly state if the remapping functions could possibly be run multiple times. Does anyone know if computeIfPresent() and compute() are guaranteed to only run the remapping functions at most once? If so, should the javadoc be updated? Thanks, Keith From dalibor.topic at oracle.com Tue Sep 17 20:16:59 2019 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Tue, 17 Sep 2019 22:16:59 +0200 Subject: JVM heap size issue in openjdk 8. In-Reply-To: <204039729B95B74D83C33FD9FC95170B0176F411@INPNMMBX002.net.plm.eds.com> References: <204039729B95B74D83C33FD9FC95170B01767CDB@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B01767F85@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B017680F9@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B0176F411@INPNMMBX002.net.plm.eds.com> Message-ID: <64304ae9-5a7a-e0ce-4df4-9713cf4f33df@oracle.com> On 17.09.2019 16:43, Pandit (EXT), Vijay wrote: > Hi Andrew, > > Due to some change in Siemens policy I need to use Oracle Open JDK 8. > The url (https://adoptopenjdk.net/upstream.html ) mentioned below is not if Oracle Open JDK. Hi Vijay, that's correct - Oracle OpenJDK builds are hosted on the jdk.java.net web site. You can find the latest version here: https://jdk.java.net/13/ . Archived versions are located at https://jdk.java.net/archive/ . Since we started to publish Oracle OpenJDK binaries with the arrival of JDK 9, you won't be able to find JDK 8 update releases there, though. I would suggest checking whether you are really looking for Oracle OpenJDK builds or Oracle JDK 8 releases. cheers, dalibor topic -- Dalibor Topic | Consulting Product Manager Phone: +494089091214 | Mobile: +491737185961 | Video: dalibor.topic at oracle.com Oracle Global Services Germany GmbH Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRB 246209 Gesch?ftsf?hrer: Ralf Herrmann Oracle is committed to developing practices and products that help protect the environment From martijnverburg at gmail.com Tue Sep 17 23:35:38 2019 From: martijnverburg at gmail.com (Martijn Verburg) Date: Tue, 17 Sep 2019 16:35:38 -0700 Subject: Concurrent Hash Map javadoc question In-Reply-To: References: Message-ID: Hi Keith, I think this is one for concurrency interest to answer. Cheers, Martijn On Tue, 17 Sep 2019 at 12:48, Keith Turner wrote: > The javadoc for ConcurrentHashMap.computeIfAbsent() states the > remapping function is applied at most once. The functions > computeIfPresent() and compute() do not explicitly state if the > remapping functions could possibly be run multiple times. Does anyone > know if computeIfPresent() and compute() are guaranteed to only run > the remapping functions at most once? If so, should the javadoc be > updated? > > Thanks, > > Keith > From martinrb at google.com Wed Sep 18 01:35:13 2019 From: martinrb at google.com (Martin Buchholz) Date: Tue, 17 Sep 2019 18:35:13 -0700 Subject: Concurrent Hash Map javadoc question In-Reply-To: References: Message-ID: I think this doc difference is intentional. In case of a retry loop, the value may have changed in the case of computeIfPresent or compute and so the function must be called again with the new value. On Tue, Sep 17, 2019 at 4:36 PM Martijn Verburg wrote: > Hi Keith, > > I think this is one for concurrency interest to answer. > > Cheers, > Martijn > > > On Tue, 17 Sep 2019 at 12:48, Keith Turner wrote: > > > The javadoc for ConcurrentHashMap.computeIfAbsent() states the > > remapping function is applied at most once. The functions > > computeIfPresent() and compute() do not explicitly state if the > > remapping functions could possibly be run multiple times. Does anyone > > know if computeIfPresent() and compute() are guaranteed to only run > > the remapping functions at most once? If so, should the javadoc be > > updated? > > > > Thanks, > > > > Keith > > > From martinrb at google.com Wed Sep 18 02:19:39 2019 From: martinrb at google.com (Martin Buchholz) Date: Tue, 17 Sep 2019 19:19:39 -0700 Subject: [concurrency-interest] Concurrent Hash Map javadoc question In-Reply-To: References: Message-ID: How about The entire method invocation is performed atomically, so the function is applied at most once per key. => The entire method invocation is performed atomically. The function is applied at most once per key. On Tue, Sep 17, 2019 at 7:08 PM Benjamin Manes wrote: > All three state that "The entire method invocation is performed > atomically" and computeIfAbsent merely explains this with the addition "so > the function is applied at most once per key." Since all computations are > atomic operations in ConcurrentHashMap, this seems to be implied in the > other cases rather than explicitly clarified. > > On Tue, Sep 17, 2019 at 6:36 PM Martin Buchholz via Concurrency-interest < > concurrency-interest at cs.oswego.edu> wrote: > >> I think this doc difference is intentional. >> >> In case of a retry loop, the value may have changed in the case of >> computeIfPresent or compute and so the function must be called again with >> the new value. >> >> On Tue, Sep 17, 2019 at 4:36 PM Martijn Verburg >> wrote: >> >>> Hi Keith, >>> >>> I think this is one for concurrency interest to answer. >>> >>> Cheers, >>> Martijn >>> >>> >>> On Tue, 17 Sep 2019 at 12:48, Keith Turner wrote: >>> >>> > The javadoc for ConcurrentHashMap.computeIfAbsent() states the >>> > remapping function is applied at most once. The functions >>> > computeIfPresent() and compute() do not explicitly state if the >>> > remapping functions could possibly be run multiple times. Does anyone >>> > know if computeIfPresent() and compute() are guaranteed to only run >>> > the remapping functions at most once? If so, should the javadoc be >>> > updated? >>> > >>> > Thanks, >>> > >>> > Keith >>> > >>> >> _______________________________________________ >> Concurrency-interest mailing list >> Concurrency-interest at cs.oswego.edu >> http://cs.oswego.edu/mailman/listinfo/concurrency-interest >> > From vijay.pandit.ext at siemens.com Wed Sep 18 07:14:25 2019 From: vijay.pandit.ext at siemens.com (Pandit (EXT), Vijay) Date: Wed, 18 Sep 2019 07:14:25 +0000 Subject: JVM heap size issue in openjdk 8. In-Reply-To: <64304ae9-5a7a-e0ce-4df4-9713cf4f33df@oracle.com> References: <204039729B95B74D83C33FD9FC95170B01767CDB@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B01767F85@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B017680F9@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B0176F411@INPNMMBX002.net.plm.eds.com> <64304ae9-5a7a-e0ce-4df4-9713cf4f33df@oracle.com> Message-ID: <204039729B95B74D83C33FD9FC95170B0176F4FB@INPNMMBX002.net.plm.eds.com> Thanks Dalibor for your response. To answer to your question I need Oracle OenJDK 8 releases. I had tried with Oracle OpenJDK 9 till 13 version, but WebLogic (12.1.3) was failing to start. If I try to upgrade WebLogic 12.1.3 to latest version then I was getting application issue. So, either we need to change our application code which is very big change or need to set up for Oracle OpenJDK 8 version (which is not available at Oracle https://jdk.java.net/archive/ ). Please tell me any way to resolve this ? Thanks Vijay -----Original Message----- From: discuss On Behalf Of Dalibor Topic Sent: Wednesday, September 18, 2019 1:47 AM To: discuss at openjdk.java.net Subject: Re: JVM heap size issue in openjdk 8. On 17.09.2019 16:43, Pandit (EXT), Vijay wrote: > Hi Andrew, > > Due to some change in Siemens policy I need to use Oracle Open JDK 8. > The url (https://adoptopenjdk.net/upstream.html ) mentioned below is not if Oracle Open JDK. Hi Vijay, that's correct - Oracle OpenJDK builds are hosted on the jdk.java.net web site. You can find the latest version here: https://jdk.java.net/13/ . Archived versions are located at https://jdk.java.net/archive/ . Since we started to publish Oracle OpenJDK binaries with the arrival of JDK 9, you won't be able to find JDK 8 update releases there, though. I would suggest checking whether you are really looking for Oracle OpenJDK builds or Oracle JDK 8 releases. cheers, dalibor topic -- Dalibor Topic | Consulting Product Manager Phone: +494089091214 | Mobile: +491737185961 | Video: dalibor.topic at oracle.com Oracle Global Services Germany GmbH Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRB 246209 Gesch?ftsf?hrer: Ralf Herrmann Oracle is committed to developing practices and products that help protect the environment From aph at redhat.com Wed Sep 18 07:45:04 2019 From: aph at redhat.com (Andrew Haley) Date: Wed, 18 Sep 2019 08:45:04 +0100 Subject: JVM heap size issue in openjdk 8. In-Reply-To: <204039729B95B74D83C33FD9FC95170B0176F411@INPNMMBX002.net.plm.eds.com> References: <204039729B95B74D83C33FD9FC95170B01767CDB@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B01767F85@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B017680F9@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B0176F411@INPNMMBX002.net.plm.eds.com> Message-ID: <688196ad-bad4-f6d5-dc6b-5e6db0fde0fb@redhat.com> On 9/17/19 3:43 PM, Pandit (EXT), Vijay wrote: > Due to some change in Siemens policy I need to use Oracle Open JDK 8. As the leader of the OpenJDK 8 updates project, I advise you not to do this. Even if you could find it, the original Oracle OpenJDK 8 release would be too old to use. It is buggy and has security vulnerabilities. For the sake of your organization, I urge you to contact whoever is responsible for the above policy and encourage them to reconsider. -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671 From benjamin.john.evans at gmail.com Wed Sep 18 08:03:53 2019 From: benjamin.john.evans at gmail.com (Ben Evans) Date: Wed, 18 Sep 2019 01:03:53 -0700 Subject: JVM heap size issue in openjdk 8. In-Reply-To: <688196ad-bad4-f6d5-dc6b-5e6db0fde0fb@redhat.com> References: <204039729B95B74D83C33FD9FC95170B01767CDB@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B01767F85@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B017680F9@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B0176F411@INPNMMBX002.net.plm.eds.com> <688196ad-bad4-f6d5-dc6b-5e6db0fde0fb@redhat.com> Message-ID: On Wed, 18 Sep 2019 at 00:48, Andrew Haley wrote: > > On 9/17/19 3:43 PM, Pandit (EXT), Vijay wrote: > > > Due to some change in Siemens policy I need to use Oracle Open JDK 8. > > As the leader of the OpenJDK 8 updates project, I advise you not to do > this. > > Even if you could find it, the original Oracle OpenJDK 8 release would > be too old to use. It is buggy and has security vulnerabilities. For > the sake of your organization, I urge you to contact whoever is > responsible for the above policy and encourage them to reconsider. I suspect that this is more likely to be a confusion over the term "Oracle OpenJDK 8". Vijay - Modern releases of Java (from 9 onwards) have been released as "Oracle OpenJDK ". However, the product that Oracle shipped as Java 8 was not open source. It was a proprietary binary built from the OpenJDK source code. So instead of "Oracle OpenJDK 8", it is just called "Oracle JDK 8". So you have a choice - you can either use Oracle JDK 8 or OpenJDK 8. If you want to use Oracle JDK 8, you should contact your Oracle rep (or look for an old, unsupported version online). For OpenJDK you have a choice of vendors who can supply you with free binaries that will be updated regularly for the next 4+ years. A popular choice is AdoptOpenJDK - the binaries can be downloaded from here: https://adoptopenjdk.net/ Thanks, Ben PS: Oracle did produce an open-source binary, the "reference implementation", but this was part of the original release, back in 2014. It has never been updated and is certainly not suitable for production use. From vijay.pandit.ext at siemens.com Wed Sep 18 09:24:54 2019 From: vijay.pandit.ext at siemens.com (Pandit (EXT), Vijay) Date: Wed, 18 Sep 2019 09:24:54 +0000 Subject: JVM heap size issue in openjdk 8. In-Reply-To: <204039729B95B74D83C33FD9FC95170B0176F556@INPNMMBX002.net.plm.eds.com> References: <01d6083f-f559-d15b-ec97-b8c4f32122b6@oracle.com> <204039729B95B74D83C33FD9FC95170B0176F556@INPNMMBX002.net.plm.eds.com> Message-ID: <204039729B95B74D83C33FD9FC95170B0176F565@INPNMMBX002.net.plm.eds.com> ++ discuss at openjdk.java.net. From: Pandit (EXT), Vijay (DI SW LCS APPS SA&S) Sent: Wednesday, September 18, 2019 2:53 PM To: albin duermeier Cc: Armin Abold ; Dalibor Topic ; Ben Evans ; Ben Evans Subject: RE: JVM heap size issue in openjdk 8. Hi All, OpenJDK is required for Siemens end customers. So we have to test our code on top of Oracle OpenJDK . If using Oracle OpenJDK 9 version I am not able to start WebLogic 12.1.3.0. I am getting below error message. ?-Djava.endorsed.dirs=D:\Softwares\openJdk\jdk-9+181_windows-x64_ri\java-se-9-ri\jdk-9\lib\endorsed;D:\apps\wls12130\oracle_common\modules\endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.? Same error I am getting if I use any Oracle OpenJDK version 9 and above. If I upgrade WebLogic version then we need to change ours other supported environments . So please guide me . If any resolution of above issue is there then please let me know. Thanks Vijay From: albin duermeier > Sent: Wednesday, September 18, 2019 1:57 PM To: Pandit (EXT), Vijay (DI SW LCS APPS SA&S) > Cc: Armin Abold >; Dalibor Topic > Subject: RE: JVM heap size issue in openjdk 8. Hi Vijay, are you really asking for Oracle OpenJDK? Siemens already has a support contract in place and therefor you could get access to the latest Oracle JDK 8 updates through our My Oracle Support website (MOS). We can connect you with the right contacts at Siemens for this. Pls. let me know. BR Albin --------------------------------------------------------------------------------------------------------------------------------------------------- Message: 1 Date: Tue, 17 Sep 2019 14:43:32 +0000 From: "Pandit (EXT), Vijay" To: Andrew Haley , Thomas Schatzl Cc: "discuss at openjdk.java.net" Subject: RE: JVM heap size issue in openjdk 8. Message-ID: <204039729B95B74D83C33FD9FC95170B0176F411 at INPNMMBX002.net.plm.eds.com> Content-Type: text/plain; charset="utf-8" Hi Andrew, Due to some change in Siemens policy I need to use Oracle Open JDK 8. The url (https://adoptopenjdk.net/upstream.html ) mentioned below is not if Oracle Open JDK. I was trying to refer to http://jdk.java.net/java-se-ri/8 , but correct version I am not getting it. Could you please provide me the url from where I can download Oracle OpenJDK 8 for Windows 10 64 bit ? Thanks Vijay Pandit -- ALBIN DUERMEIER | Principal Sales Consultant Phone: +49 89 1430 2096 | Fax: +49 89 1430 1150 | Mobile: +49 172 849 7862 Oracle Java Embedded GSU Oracle Global Services Germany GmbH Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRB 246209 Gesch?ftsf?hrer: Ralf Herrmann From Alan.Bateman at oracle.com Wed Sep 18 09:57:38 2019 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Wed, 18 Sep 2019 10:57:38 +0100 Subject: JVM heap size issue in openjdk 8. In-Reply-To: <204039729B95B74D83C33FD9FC95170B0176F565@INPNMMBX002.net.plm.eds.com> References: <01d6083f-f559-d15b-ec97-b8c4f32122b6@oracle.com> <204039729B95B74D83C33FD9FC95170B0176F556@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B0176F565@INPNMMBX002.net.plm.eds.com> Message-ID: On 18/09/2019 10:24, Pandit (EXT), Vijay wrote: > : > > OpenJDK is required for Siemens end customers. > > So we have to test our code on top of Oracle OpenJDK . If using Oracle OpenJDK 9 version I am not able to start WebLogic 12.1.3.0. I am getting below error message. > > ?-Djava.endorsed.dirs=D:\Softwares\openJdk\jdk-9+181_windows-x64_ri\java-se-9-ri\jdk-9\lib\endorsed;D:\apps\wls12130\oracle_common\modules\endorsed is not supported. Endorsed standards and standalone APIs > in modular form will be supported via the concept of upgradeable modules. > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit.? > > Same error I am getting if I use any Oracle OpenJDK version 9 and above. > > If I upgrade WebLogic version then we need to change ours other supported environments . > > So please guide me . If any resolution of above issue is there then please let me know. > I don't know much about WebLogic Server but I see the downloads have detailed installation and configuration documentation that lists the Oracle JDK 7 and 8 releases that it is certified to run on. I don't see anything to suggest it can run on a build of the OpenJDK jdk8u repo so I think your starting point has to be the WebLogic documentation and the list of supported configurations. -Alan. From keith at deenlo.com Wed Sep 18 13:56:08 2019 From: keith at deenlo.com (Keith Turner) Date: Wed, 18 Sep 2019 09:56:08 -0400 Subject: [concurrency-interest] Concurrent Hash Map javadoc question In-Reply-To: References: Message-ID: On Tue, Sep 17, 2019 at 10:08 PM Benjamin Manes wrote: > > All three state that "The entire method invocation is performed atomically" and computeIfAbsent merely explains this with the addition "so the function is applied at most once per key." Since all computations are atomic operations in ConcurrentHashMap, this seems to be implied in the other cases rather than explicitly clarified. I found myself wondering if atomically just meant mutually exclusive execution OR did it mean mutually exclusive execution and at most once execution. I strongly suspect it means the latter. ConcurrentMap and ConcurrentSkipListMap are very clear about the more than once execution semantics. ConcurrentHashMap is clear about the at most once semantics for one function. The absence of information on the other functions concerns me when everything else is so explicit. When considering lambda with side effects, I want to ensure the code is correct now and for future versions of Java. The word atomically would have to unambiguously mean the same thing to everyone in order to maintain at most once execution semantics going forward. I am not sure everyone would agree on that meaning. If that is the intent of the function and word, it would be nice to explicitly state it. > > On Tue, Sep 17, 2019 at 6:36 PM Martin Buchholz via Concurrency-interest wrote: >> >> I think this doc difference is intentional. >> >> In case of a retry loop, the value may have changed in the case of computeIfPresent or compute and so the function must be called again with the new value. >> >> On Tue, Sep 17, 2019 at 4:36 PM Martijn Verburg wrote: >>> >>> Hi Keith, >>> >>> I think this is one for concurrency interest to answer. >>> >>> Cheers, >>> Martijn >>> >>> >>> On Tue, 17 Sep 2019 at 12:48, Keith Turner wrote: >>> >>> > The javadoc for ConcurrentHashMap.computeIfAbsent() states the >>> > remapping function is applied at most once. The functions >>> > computeIfPresent() and compute() do not explicitly state if the >>> > remapping functions could possibly be run multiple times. Does anyone >>> > know if computeIfPresent() and compute() are guaranteed to only run >>> > the remapping functions at most once? If so, should the javadoc be >>> > updated? >>> > >>> > Thanks, >>> > >>> > Keith >>> > >> >> _______________________________________________ >> Concurrency-interest mailing list >> Concurrency-interest at cs.oswego.edu >> http://cs.oswego.edu/mailman/listinfo/concurrency-interest From keith at deenlo.com Wed Sep 18 14:23:11 2019 From: keith at deenlo.com (Keith Turner) Date: Wed, 18 Sep 2019 10:23:11 -0400 Subject: Concurrent Hash Map javadoc question In-Reply-To: References: Message-ID: On Tue, Sep 17, 2019 at 9:35 PM Martin Buchholz wrote: > > I think this doc difference is intentional. If that is the case, it would be really nice update the javadoc to make it explicit. > > In case of a retry loop, the value may have changed in the case of computeIfPresent or compute and so the function must be called again with the new value. > > On Tue, Sep 17, 2019 at 4:36 PM Martijn Verburg wrote: >> >> Hi Keith, >> >> I think this is one for concurrency interest to answer. >> >> Cheers, >> Martijn >> >> >> On Tue, 17 Sep 2019 at 12:48, Keith Turner wrote: >> >> > The javadoc for ConcurrentHashMap.computeIfAbsent() states the >> > remapping function is applied at most once. The functions >> > computeIfPresent() and compute() do not explicitly state if the >> > remapping functions could possibly be run multiple times. Does anyone >> > know if computeIfPresent() and compute() are guaranteed to only run >> > the remapping functions at most once? If so, should the javadoc be >> > updated? >> > >> > Thanks, >> > >> > Keith >> > From dalibor.topic at oracle.com Wed Sep 18 17:01:41 2019 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Wed, 18 Sep 2019 19:01:41 +0200 Subject: JVM heap size issue in openjdk 8. In-Reply-To: <204039729B95B74D83C33FD9FC95170B0176F4FB@INPNMMBX002.net.plm.eds.com> References: <204039729B95B74D83C33FD9FC95170B01767CDB@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B01767F85@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B017680F9@INPNMMBX002.net.plm.eds.com> <204039729B95B74D83C33FD9FC95170B0176F411@INPNMMBX002.net.plm.eds.com> <64304ae9-5a7a-e0ce-4df4-9713cf4f33df@oracle.com> <204039729B95B74D83C33FD9FC95170B0176F4FB@INPNMMBX002.net.plm.eds.com> Message-ID: On 18.09.2019 09:14, Pandit (EXT), Vijay wrote: > I had tried with Oracle OpenJDK 9 till 13 version, but WebLogic (12.1.3) was failing to start. Hi, the list of supported Oracle WebLogic configurations can be found at https://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html . They don't include any OpenJDK releases. I would suggest taking a look at the Other Oracle Products section of the Oracle Java SE Subscription FAQ at https://www.oracle.com/technetwork/java/javaseproducts/overview/javasesubscriptionfaq-4891443.html . cheers, dalibor topic > If I try to upgrade WebLogic 12.1.3 to latest version then I was getting application issue. So, either we need to change our application code which is very big change or need to set up for Oracle OpenJDK 8 version (which is not available at Oracle https://jdk.java.net/archive/ ). > > Please tell me any way to resolve this ? > > Thanks > Vijay > > -----Original Message----- > From: discuss On Behalf Of Dalibor Topic > Sent: Wednesday, September 18, 2019 1:47 AM > To: discuss at openjdk.java.net > Subject: Re: JVM heap size issue in openjdk 8. > > On 17.09.2019 16:43, Pandit (EXT), Vijay wrote: >> Hi Andrew, >> >> Due to some change in Siemens policy I need to use Oracle Open JDK 8. >> The url (https://adoptopenjdk.net/upstream.html ) mentioned below is not if Oracle Open JDK. > > Hi Vijay, > > that's correct - Oracle OpenJDK builds are hosted on the jdk.java.net web site. > > You can find the latest version here: https://jdk.java.net/13/ . > Archived versions are located at https://jdk.java.net/archive/ . > > Since we started to publish Oracle OpenJDK binaries with the arrival of JDK 9, you won't be able to find JDK 8 update releases there, though. I would suggest checking whether you are really looking for Oracle OpenJDK builds or Oracle JDK 8 releases. > > cheers, > dalibor topic > > -- > > Dalibor Topic | Consulting Product Manager > Phone: +494089091214 | Mobile: +491737185961 | Video: dalibor.topic at oracle.com > > Oracle Global Services Germany GmbH > Hauptverwaltung: Riesstr. 25, D-80992 M?nchen > Registergericht: Amtsgericht M?nchen, HRB 246209 > Gesch?ftsf?hrer: Ralf Herrmann > > Oracle is committed to developing practices and products that help protect the environment > -- Dalibor Topic | Consulting Product Manager Phone: +494089091214 | Mobile: +491737185961 | Video: dalibor.topic at oracle.com Oracle Global Services Germany GmbH Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRB 246209 Gesch?ftsf?hrer: Ralf Herrmann Oracle is committed to developing practices and products that help protect the environment From vijay.pandit.ext at siemens.com Fri Sep 20 12:44:19 2019 From: vijay.pandit.ext at siemens.com (Pandit (EXT), Vijay) Date: Fri, 20 Sep 2019 12:44:19 +0000 Subject: Weblogic 12.2.1.0.0 with Oracle openJDK 11 compatibility issue. Message-ID: <204039729B95B74D83C33FD9FC95170B0176FAE1@INPNMMBX002.net.plm.eds.com> Hi All, I am using Oracle OpenJDK version 11 and WebLogic 12.2.1.0.0 and I had updated setDomainEnv.cmd and setDomainEnv.sh file of WebLogic 12.2.1.0.0 as below. set BEA_JAVA_HOME=D:\Softwares\openJdk\openjdk-11+28_windows-x64_bin\jdk-11 set DEFAULT_BEA_JAVA_HOME=D:\Softwares\openJdk\openjdk-11+28_windows-x64_bin\jdk-11 set SUN_JAVA_HOME=D:\Softwares\openJdk\openjdk-11+28_windows-x64_bin\jdk-11 set DEFAULT_SUN_JAVA_HOME=D:\Softwares\openJdk\openjdk-11+28_windows-x64_bin\jdk-11 set JAVA_HOME=D:\Softwares\openJdk\openjdk-11+28_windows-x64_bin\jdk-11 At server start up I am getting below error message : A MultiException has 5 exceptions. They are: 1. weblogic.management.ManagementException: [Management:141266]Parsing failure in config.xml: javax.xml.soap.SOAPElement. 2. java.lang.IllegalStateException: Unable to perform operation: create on weblogic.management.provider.internal.RuntimeAccessImpl 3. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.management.provider.internal.RuntimeAccessService 4. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.t3.srvr.FinalThreadLocalService errors were found 5. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.t3.srvr.FinalThreadLocalService Please help in this issue. Does WebLogic supports Oracle OpenJDK ? Thanks Vijay From joe.darcy at oracle.com Fri Sep 20 16:38:16 2019 From: joe.darcy at oracle.com (Joe Darcy) Date: Fri, 20 Sep 2019 09:38:16 -0700 Subject: Weblogic 12.2.1.0.0 with Oracle openJDK 11 compatibility issue. In-Reply-To: <204039729B95B74D83C33FD9FC95170B0176FAE1@INPNMMBX002.net.plm.eds.com> References: <204039729B95B74D83C33FD9FC95170B0176FAE1@INPNMMBX002.net.plm.eds.com> Message-ID: Hello Vijay, This mailing list is for "General discussion about the OpenJDK Community"; it is not a support alias for uses of OpenJDK. Please direct your inquiry to a more appropriate venue. Cheers, -Joe On 9/20/2019 5:44 AM, Pandit (EXT), Vijay wrote: > Hi All, > > > > I am using Oracle OpenJDK version 11 and WebLogic 12.2.1.0.0 and I had updated setDomainEnv.cmd and setDomainEnv.sh file of WebLogic 12.2.1.0.0 as below. > > > > set BEA_JAVA_HOME=D:\Softwares\openJdk\openjdk-11+28_windows-x64_bin\jdk-11 > > set DEFAULT_BEA_JAVA_HOME=D:\Softwares\openJdk\openjdk-11+28_windows-x64_bin\jdk-11 > > set SUN_JAVA_HOME=D:\Softwares\openJdk\openjdk-11+28_windows-x64_bin\jdk-11 > > set DEFAULT_SUN_JAVA_HOME=D:\Softwares\openJdk\openjdk-11+28_windows-x64_bin\jdk-11 > > set JAVA_HOME=D:\Softwares\openJdk\openjdk-11+28_windows-x64_bin\jdk-11 > > > > At server start up I am getting below error message : > > > > A MultiException has 5 exceptions. They are: > > 1. weblogic.management.ManagementException: [Management:141266]Parsing failure in config.xml: javax.xml.soap.SOAPElement. > > 2. java.lang.IllegalStateException: Unable to perform operation: create on weblogic.management.provider.internal.RuntimeAccessImpl > > 3. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.management.provider.internal.RuntimeAccessService > > 4. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.t3.srvr.FinalThreadLocalService errors were found > > 5. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.t3.srvr.FinalThreadLocalService > > > > Please help in this issue. > > > > Does WebLogic supports Oracle OpenJDK ? > > > > Thanks > Vijay > From martinrb at google.com Fri Sep 27 21:35:18 2019 From: martinrb at google.com (Martin Buchholz) Date: Fri, 27 Sep 2019 14:35:18 -0700 Subject: Concurrent Hash Map javadoc question In-Reply-To: References: Message-ID: I was wrong and filed 1. DK 2. JDK-8231592 Clarify that ConcurrentHashMap compute methods mapping functions execute at most once On Wed, Sep 18, 2019 at 7:23 AM Keith Turner wrote: > On Tue, Sep 17, 2019 at 9:35 PM Martin Buchholz > wrote: > > > > I think this doc difference is intentional. > > If that is the case, it would be really nice update the javadoc to > make it explicit. > > > > > In case of a retry loop, the value may have changed in the case of > computeIfPresent or compute and so the function must be called again with > the new value. > > > > On Tue, Sep 17, 2019 at 4:36 PM Martijn Verburg < > martijnverburg at gmail.com> wrote: > >> > >> Hi Keith, > >> > >> I think this is one for concurrency interest to answer. > >> > >> Cheers, > >> Martijn > >> > >> > >> On Tue, 17 Sep 2019 at 12:48, Keith Turner wrote: > >> > >> > The javadoc for ConcurrentHashMap.computeIfAbsent() states the > >> > remapping function is applied at most once. The functions > >> > computeIfPresent() and compute() do not explicitly state if the > >> > remapping functions could possibly be run multiple times. Does anyone > >> > know if computeIfPresent() and compute() are guaranteed to only run > >> > the remapping functions at most once? If so, should the javadoc be > >> > updated? > >> > > >> > Thanks, > >> > > >> > Keith > >> > >