From nakamura at hkg.ac.jp Tue Feb 4 03:40:47 2014 From: nakamura at hkg.ac.jp (nakamura at hkg.ac.jp) Date: Tue, 04 Feb 2014 12:40:47 +0900 Subject: Is Bug Database Running Correctly? Message-ID: <52F0613F.9040303@hkg.ac.jp> Hi, I can't view the bug which was submitted via http://bugs.sun.com/ on 2013-12-18. https://bugs.openjdk.java.net/browse/JDK-9009012 http://bugs.java.com/bugdatabase/view_bug.do?bug_id=9009012 I can't send an email to jbs_jpginfra_support_ww_grp at oracle.com and a message via https://bugs.openjdk.java.net/secure/ContactAdministrators!default.jspa. javac (8-fcs-b128) throws an exception when it compiles the following program: ----- //import java.awt.event.*; import javax.swing.*; public class Test1 { public static void main(String[] args) { SwingUtilities.invokeLater(() -> { JFrame frame = new JFrame("Test1"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JButton button = new JButton("Test1"); button.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { } }); frame.add(button); frame.setSize(160, 160); frame.setVisible(true); }); } } ----- Yours sincerely, Manabu Nakamura From jeff.dinkins at oracle.com Tue Feb 4 04:49:20 2014 From: jeff.dinkins at oracle.com (Jeff Dinkins) Date: Mon, 3 Feb 2014 22:49:20 -0600 Subject: Is Bug Database Running Correctly? In-Reply-To: <52F0613F.9040303@hkg.ac.jp> References: <52F0613F.9040303@hkg.ac.jp> Message-ID: <0D674AFE-ABC9-4100-9FF9-2976B47ADEBB@oracle.com> Hi - take a look at https://bugs.openjdk.java.net/browse/JDK-8030816 ? is that the one? -jeff On Feb 3, 2014, at 9:40 PM, nakamura at hkg.ac.jp wrote: > Hi, > > I can't view the bug which was submitted via http://bugs.sun.com/ on > 2013-12-18. > https://bugs.openjdk.java.net/browse/JDK-9009012 > http://bugs.java.com/bugdatabase/view_bug.do?bug_id=9009012 > > I can't send an email to jbs_jpginfra_support_ww_grp at oracle.com and a > message via > https://bugs.openjdk.java.net/secure/ContactAdministrators!default.jspa. > > > > javac (8-fcs-b128) throws an exception when it compiles the following > program: > ----- > //import java.awt.event.*; > import javax.swing.*; > > public class Test1 { > public static void main(String[] args) { > SwingUtilities.invokeLater(() -> { > JFrame frame = new JFrame("Test1"); > frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); > JButton button = new JButton("Test1"); > button.addActionListener(new ActionListener() { > @Override > public void actionPerformed(ActionEvent e) { > } > }); > frame.add(button); > frame.setSize(160, 160); > frame.setVisible(true); > }); > } > } > ----- > > Yours sincerely, > Manabu Nakamura From nakamura at hkg.ac.jp Tue Feb 4 08:31:07 2014 From: nakamura at hkg.ac.jp (nakamura at hkg.ac.jp) Date: Tue, 04 Feb 2014 17:31:07 +0900 Subject: Is Bug Database Running Correctly? In-Reply-To: <0D674AFE-ABC9-4100-9FF9-2976B47ADEBB@oracle.com> References: <52F0613F.9040303@hkg.ac.jp> <0D674AFE-ABC9-4100-9FF9-2976B47ADEBB@oracle.com> Message-ID: <52F0A54B.1040107@hkg.ac.jp> Hi, > Hi - take a look at https://bugs.openjdk.java.net/browse/JDK-8030816 ? is that the one? Thank you very much. The wrong Bug ID is sent to me... I can't send a message to administrators via https://bugs.openjdk.java.net/secure/ContactAdministrators!default.jspa. I can't send an email to jbs_jpginfra_support_ww_grp at oracle.com, too. Yours sincerely, Manabu Nakamura From joe.darcy at oracle.com Tue Feb 4 17:15:53 2014 From: joe.darcy at oracle.com (Joe Darcy) Date: Tue, 04 Feb 2014 09:15:53 -0800 Subject: Is Bug Database Running Correctly? In-Reply-To: <52F0A54B.1040107@hkg.ac.jp> References: <52F0613F.9040303@hkg.ac.jp> <0D674AFE-ABC9-4100-9FF9-2976B47ADEBB@oracle.com> <52F0A54B.1040107@hkg.ac.jp> Message-ID: <52F12049.9040603@oracle.com> Hello, On 02/04/2014 12:31 AM, nakamura at hkg.ac.jp wrote: > Hi, > >> Hi - take a look at https://bugs.openjdk.java.net/browse/JDK-8030816 ? is that the one? > Thank you very much. The wrong Bug ID is sent to me... > > The situation is a bit different. The problem you submitted started as an issues in the "incidents" project and, after some triage by an engineers, was moved to an issue in the "jdk" project. We are working toward having more transparency around the incidents system. Thank you for submitting the bug, -Joe From bourges.laurent at gmail.com Mon Feb 10 09:24:32 2014 From: bourges.laurent at gmail.com (=?ISO-8859-1?Q?Laurent_Bourg=E8s?=) Date: Mon, 10 Feb 2014 10:24:32 +0100 Subject: Improve large array allocation / gc & intrinsics Message-ID: Dear all, I would like to propose a JDK9 RFE to improve JVM efficiency when dealing with large arrays (allocation + gc). In several scientific applications (and my patched java2d pisces), many large arrays are needed, created on the fly and it becomes very painful to recycle them using an efficient array cache (concurrency, cache size tuning, clear + cache eviction issues). In this case, the GC overhead leads to a big performance penalty (several hundred megabytes per seconds). As such array cache are very efficient in an application context, I am wondering if that approach could be promoted at the JDK level itself: - provide a new array allocator for large arrays that can return larger arrays than expected (size = 4 or 8 multiples) using array caches (per thread ?) stored in a dedicated JVM large memory area (GC aware) and providing efficient cache eviction policies - may support for both clean arrays (zero filled) or dirty arrays because some algorithms does not need zero-filled arrays. - improve JVM intrinsics (array clear, fill) to achieve maximum performance ie take into account the data alignment (4 or 8 multiples) - upgrade GC to recycle such 'cached' arrays (clean), update usage statistics and manage cache eviction policy (avoid wasting memory) Please give me your feedback & opinion and evaluate if this feature seems possible to implement into the JDK (hotspot, gc, core-libs) ... What is the procedure to create such JDK9 RFE ? Best regards, Laurent Bourg?s From dalibor.topic at oracle.com Mon Feb 10 12:31:14 2014 From: dalibor.topic at oracle.com (dalibor topic) Date: Mon, 10 Feb 2014 13:31:14 +0100 Subject: Improve large array allocation / gc & intrinsics In-Reply-To: References: Message-ID: <52F8C692.8020109@oracle.com> On 10.02.2014 10:24, Laurent Bourg?s wrote: > What is the procedure to create such JDK9 RFE ? See http://openjdk.java.net/jeps/1 cheers, dalibor topic -- Dalibor Topic | Principal Product Manager Phone: +494089091214 | Mobile: +491737185961 ORACLE Deutschland B.V. & Co. KG | K?hneh?fe 5 | 22761 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Gesch?ftsf?hrer: J?rgen Kunz Komplement?rin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: Alexander van der Ven, Astrid Kepper, Val Maher Oracle is committed to developing practices and products that help protect the environment From dalibor.topic at oracle.com Mon Feb 10 12:37:34 2014 From: dalibor.topic at oracle.com (dalibor topic) Date: Mon, 10 Feb 2014 13:37:34 +0100 Subject: Group Proposal: Adoption In-Reply-To: <52A8C916.3060900@oracle.com> References: <529F3A10.7030505@oracle.com> <52A8C916.3060900@oracle.com> Message-ID: <52F8C80E.5010707@oracle.com> The Adoption Group has been since approved [0] by the Governing Board, and its mailing list [1], etc. are now active. cheers, dalibor topic [0] http://mail.openjdk.java.net/pipermail/announce/2013-December/000159.html [1] http://openjdk.java.net/groups/adoption/ On 11.12.2013 21:20, Dalibor Topic wrote: > On 12/4/13 3:20 PM, Dalibor Topic wrote: >> I would like to invite discussion on a proposal for a new OpenJDK Group: Adoption. > > Since there was no apparent need for further discussion within a week from > the Proposal being made, I'll move this Proposal along to Step 1, as > outlined at the guide for proposing new Groups. [0] > > cheers, > dalibor topic > > [0] http://openjdk.java.net/groups/#new-group > -- Dalibor Topic | Principal Product Manager Phone: +494089091214 | Mobile: +491737185961 ORACLE Deutschland B.V. & Co. KG | K?hneh?fe 5 | 22761 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Gesch?ftsf?hrer: J?rgen Kunz Komplement?rin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: Alexander van der Ven, Astrid Kepper, Val Maher Oracle is committed to developing practices and products that help protect the environment From neugens at redhat.com Mon Feb 10 14:13:31 2014 From: neugens at redhat.com (Mario Torre) Date: Mon, 10 Feb 2014 15:13:31 +0100 Subject: Group Proposal: Adoption In-Reply-To: <52F8C80E.5010707@oracle.com> References: <529F3A10.7030505@oracle.com> <52A8C916.3060900@oracle.com> <52F8C80E.5010707@oracle.com> Message-ID: <1392041611.3761.23.camel@galactica.localdomain> On Mon, 2014-02-10 at 13:37 +0100, dalibor topic wrote: > The Adoption Group has been since approved [0] by the Governing Board, > and its mailing list [1], etc. are now active. > > cheers, > dalibor topic Hi Dalibor, The census page should be updated too, see for example: http://openjdk.java.net/census#neugens http://openjdk.java.net/census#dalibor Adoption is not the only one entry missing, for example: http://openjdk.java.net/census#omajid Doesn't list the harfbuzz project (I'm not sure it was called this way), but I believe it was ratified too. Can somebody check this out? Cheers, Mario From mark.reinhold at oracle.com Mon Feb 10 22:50:40 2014 From: mark.reinhold at oracle.com (mark.reinhold at oracle.com) Date: Mon, 10 Feb 2014 14:50:40 -0800 Subject: Group Proposal: Adoption In-Reply-To: <1392041611.3761.23.camel@galactica.localdomain> References: <529F3A10.7030505@oracle.com>, <52A8C916.3060900@oracle.com>, <52F8C80E.5010707@oracle.com>, <1392041611.3761.23.camel@galactica.localdomain> Message-ID: <20140210145040.256082@eggemoggin.niobe.net> 2014/2/9 22:13 -0800, Mario Torre : > On Mon, 2014-02-10 at 13:37 +0100, dalibor topic wrote: >> The Adoption Group has been since approved [0] by the Governing Board, >> and its mailing list [1], etc. are now active. > > The census page should be updated too, see for example: > > http://openjdk.java.net/census#neugens > http://openjdk.java.net/census#dalibor Fixed: http://openjdk.java.net/census#adoption (the other members will be added after they complete the registration process). > Adoption is not the only one entry missing, for example: > > http://openjdk.java.net/census#omajid > > Doesn't list the harfbuzz project (I'm not sure it was called this way), > but I believe it was ratified too. It was ratified but its creation is waiting on the resolution of a minor legal issue. - Mark From fweimer at redhat.com Tue Feb 11 12:59:27 2014 From: fweimer at redhat.com (Florian Weimer) Date: Tue, 11 Feb 2014 13:59:27 +0100 Subject: Using OpenJDK for static analysis In-Reply-To: References: Message-ID: <52FA1EAF.6000901@redhat.com> On 02/11/2014 01:11 AM, Pascal Kesseli wrote: > We are developing a bounded model checker for C/C++ called CBMC here at the > University of Oxford. We're currently evaluating different options to > implement a Java frontend for the program, allowing us to statically verify > Java code as well. > > There's obviously a whole series of problems to be tackled before this is > possible, one of which is the following: In order to provide a reasonable > scope, the verifier needs to know the semantics of native JRE library code. > One way of allowing us to do so is for our program to model JNI and use > OpenJDK's C/C++ implementations to determine the semantics of such a method > call in Java. jdk7u-dev isn't the right mailing list for this question. The discuss list might be better (and I'm redirecting it there), but officially, I think such questions should be posted to the forums (which I don't frequent). > This approach begs the following questions: > 1.) Are all native runtime library operations in OpenJDK implemented in > proper JNI or are there exceptions and caveats to this approach? There are exceptions, like methods that won't work properly when not intrinsified. > 2.) Are the implementations of these functions reasonably detached from > each other and the rest of the VM, such that they can be analysed in > isolation? There was a proposal to write to documentation: But I don't think this was ever turned into a real JEP, and I haven't seen the documentation. -- Florian Weimer / Red Hat Product Security Team From neugens.limasoftware at gmail.com Tue Feb 11 17:58:46 2014 From: neugens.limasoftware at gmail.com (Mario Torre) Date: Tue, 11 Feb 2014 18:58:46 +0100 Subject: Group Proposal: Adoption In-Reply-To: <20140210145040.256082@eggemoggin.niobe.net> References: <529F3A10.7030505@oracle.com> <52A8C916.3060900@oracle.com> <52F8C80E.5010707@oracle.com> <1392041611.3761.23.camel@galactica.localdomain> <20140210145040.256082@eggemoggin.niobe.net> Message-ID: Hi Mark, Thanks for looking at that so quickly. Cheers, Mario Il 10/feb/2014 23:52 ha scritto: > 2014/2/9 22:13 -0800, Mario Torre : > > On Mon, 2014-02-10 at 13:37 +0100, dalibor topic wrote: > >> The Adoption Group has been since approved [0] by the Governing Board, > >> and its mailing list [1], etc. are now active. > > > > The census page should be updated too, see for example: > > > > http://openjdk.java.net/census#neugens > > http://openjdk.java.net/census#dalibor > > Fixed: http://openjdk.java.net/census#adoption (the other members will > be added after they complete the registration process). > > > Adoption is not the only one entry missing, for example: > > > > http://openjdk.java.net/census#omajid > > > > Doesn't list the harfbuzz project (I'm not sure it was called this way), > > but I believe it was ratified too. > > It was ratified but its creation is waiting on the resolution of a minor > legal issue. > > - Mark > From pkesseli at outlook.com Wed Feb 12 14:44:15 2014 From: pkesseli at outlook.com (Pascal Kesseli) Date: Wed, 12 Feb 2014 14:44:15 +0000 Subject: AW: Using OpenJDK for static analysis In-Reply-To: <52FA1EAF.6000901@redhat.com> References: <52FA1EAF.6000901@redhat.com> Message-ID: Hi Florian, Thanks for the heads up. I'll be sure to take a look at the forum as well. Technically speaking, we won't actually execute any Java code at all, so as long as there is a JNI implementation with the correct semantics somewhere in the code for every native method, we can use that for our analysis. Whether or not that method is actually called at runtime or optimised away through intrinsic methods should not make a difference with regard to the semantics of the program, right? Thanks, Pascal -----Urspr?ngliche Nachricht----- Von: Florian Weimer [mailto:fweimer at redhat.com] Gesendet: 11 February 2014 12:59 An: Pascal Kesseli Cc: jdk7u-dev at openjdk.java.net; discuss at openjdk.java.net Betreff: Re: Using OpenJDK for static analysis On 02/11/2014 01:11 AM, Pascal Kesseli wrote: > We are developing a bounded model checker for C/C++ called CBMC here > at the University of Oxford. We're currently evaluating different > options to implement a Java frontend for the program, allowing us to > statically verify Java code as well. > > There's obviously a whole series of problems to be tackled before this > is possible, one of which is the following: In order to provide a > reasonable scope, the verifier needs to know the semantics of native JRE library code. > One way of allowing us to do so is for our program to model JNI and > use OpenJDK's C/C++ implementations to determine the semantics of such > a method call in Java. jdk7u-dev isn't the right mailing list for this question. The discuss list might be better (and I'm redirecting it there), but officially, I think such questions should be posted to the forums (which I don't frequent). > This approach begs the following questions: > 1.) Are all native runtime library operations in OpenJDK implemented > in proper JNI or are there exceptions and caveats to this approach? There are exceptions, like methods that won't work properly when not intrinsified. > 2.) Are the implementations of these functions reasonably detached > from each other and the rest of the VM, such that they can be analysed > in isolation? There was a proposal to write to documentation: But I don't think this was ever turned into a real JEP, and I haven't seen the documentation. -- Florian Weimer / Red Hat Product Security Team From jvr968 at gmail.com Tue Feb 18 17:04:27 2014 From: jvr968 at gmail.com (JvR O) Date: Tue, 18 Feb 2014 18:04:27 +0100 Subject: Accessing java applet public variables Message-ID: I sent values to the signed applet. On html: In the applet public class: public String[] str = new String[100]; @Override public void init() { nstr = this.getParameter("valuename1"); //TODO this.str[0]= "appletstringvalue1"; } At javascript: var a = document.getElementById('appletid'); var jstr = a.str; alert('jstr: '+jstr[0]); If I use a similar script with ORACLE JRE on windows or mac the alerts shows a string. jstr: appletstringvalue1 But if I use similiar script on ubuntu with OPENJDK I receive. jstr: undefined The java.log shows the value of jstr if I print to the log in both cases. Why Javascript is not receiving the applet values on linux or openjdk? The conversion of the objects (Java/Applet to JS) works correctly in the ORACLE JRE but with OPENJDK wich comes with linux (Ubuntu or Fedora, etc) is not working, or maybe I need to access to JavaArray in a different way? Any suggestion? Thank You. From krafczyk.matthew at gmail.com Fri Feb 21 23:26:52 2014 From: krafczyk.matthew at gmail.com (krafczyk) Date: Fri, 21 Feb 2014 15:26:52 -0800 (PST) Subject: Java voip program on linux Message-ID: <1393025212635-179023.post@n7.nabble.com> Hi, I'm trying to use a VOIP program coded in java on linux. The program seems to cause an unusually high amount of context switches and interrupts as reported by the 'dstat' program. For me, typical numbers are ~1k for interupts and 20k for context switches, however when this program is running, I can see numbers as high as 20k for interrupts and 300k for context switches. This is easily an order of magnitude larger than normal. In addition the program consumes about 130-170% cpu as reported by 'top'. Now contrast this with when I run the same java program using a windows installation of sun java on wine, I see that the program consumes only about 25% cpu, and the interrupts and context switches stay at a more normal level. What I want to know if anybody knows about any reason why this might be happening? and how I can resolve the problem. This program is interfacing with pulse audio if that's helpful, and I'm running ubuntu 13.10 with openjdk 1.7 -- View this message in context: http://openjdk.5641.n7.nabble.com/Java-voip-program-on-linux-tp179023.html Sent from the OpenJDK General discussion mailing list archive at Nabble.com. From martijnverburg at gmail.com Sun Feb 23 11:40:12 2014 From: martijnverburg at gmail.com (Martijn Verburg) Date: Sun, 23 Feb 2014 11:40:12 +0000 Subject: Java voip program on linux In-Reply-To: <1393025212635-179023.post@n7.nabble.com> References: <1393025212635-179023.post@n7.nabble.com> Message-ID: Hi Matthew, I think you may have sent this to the wrong list. you're probably best off trying mechanical-sympathy at googlegroups.com Cheers, Martijn On 21 February 2014 23:26, krafczyk wrote: > Hi, I'm trying to use a VOIP program coded in java on linux. > > The program seems to cause an unusually high amount of context switches and > interrupts as reported by the 'dstat' program. For me, typical numbers are > ~1k for interupts and 20k for context switches, however when this program > is > running, I can see numbers as high as 20k for interrupts and 300k for > context switches. This is easily an order of magnitude larger than normal. > In addition the program consumes about 130-170% cpu as reported by 'top'. > > Now contrast this with when I run the same java program using a windows > installation of sun java on wine, I see that the program consumes only > about > 25% cpu, and the interrupts and context switches stay at a more normal > level. > > What I want to know if anybody knows about any reason why this might be > happening? and how I can resolve the problem. > > This program is interfacing with pulse audio if that's helpful, and I'm > running ubuntu 13.10 with openjdk 1.7 > > > > > > -- > View this message in context: > http://openjdk.5641.n7.nabble.com/Java-voip-program-on-linux-tp179023.html > Sent from the OpenJDK General discussion mailing list archive at > Nabble.com. > From danilo.ansaloni at usi.ch Wed Feb 26 17:52:36 2014 From: danilo.ansaloni at usi.ch (danilo.ansaloni at usi.ch) Date: Wed, 26 Feb 2014 17:52:36 +0000 Subject: Modularity'14 - Student Forum Message-ID: *** MODULARITY '14 *** 13th International Conference on Modularity April 22-25, 2014 Lugano, Switzerland http://modularity.info/ In cooperation with: * ACM SIGSOFT * ACM SIGPLAN ======================================================================== *** STUDENT FORUM *** The Student Forum will take place on Tuesday in parallel with the workshops and allow students to meet other students before the main conference begins. As in previous years, the Student Forum will be an interactive format that allows students to interact brainstorm innovative ways that Modularity research interests intersect. Students will also have the opportunity to hear from and ask questions of domain experts. IMPORTANT DATES * Submission: April 6, 2014 * Event: April 22, 2014 afternoon EVENTS * Speed Dating Participants pair up and introduce themselves and their research to each other during 5 minutes. Every 5 minutes, they have to find a new partner. * Collaborative Writing In small groups, students will develop an idea of how to incorporate their respective research into a coherent, joint project. They will write down a motivation and problem statement for it, as well as an approach. In the end, they present their research idea to the whole group. During the afternoon, the panelists consult the students and give additional input. PREPARATION It is mandatory to register for the participation in the Student Forum by sending the following information to students at aosd.net by April 6, 2014. * Prepare one or more questions you would like to be discussed in the panel. ? * Write a short description about yourself (max. 100 words) including what is your field of research (e.g., languages, tools, design, applications) a brief problem statement for your research and what is your experience (i.e., how long have you been a PhD student).