From john.r.rose at oracle.com Thu Sep 4 21:37:41 2014 From: john.r.rose at oracle.com (John Rose) Date: Thu, 4 Sep 2014 14:37:41 -0700 Subject: Fwd: need advice on module structure for ISA-specific sources and classes Message-ID: <2E642C64-2E54-44DE-B891-25AAEA0B9825@oracle.com> At Mark's suggestion, I sent the following query to jigsaw-dev. http://mail.openjdk.java.net/pipermail/jigsaw-dev/2014-September/003564.html Possible use cases: 1. integrate ISA-dependent and platform-dependent code from JNR into JDK source layout. 2. Organize ISA-dependent functions (VIS, AVX, TSX). 3. Organize native code generators if needed. ? John Begin forwarded message: From: John Rose Subject: need advice on module structure for ISA-specific sources and classes Date: September 4, 2014 at 2:13:17 PM PDT To: jigsaw-dev at openjdk.java.net We have standard OpenJDK source locations for platform-specific code, as described in http://openjdk.java.net/jeps/201 . For example: http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/tip/src/java.base/linux/classes/sun/nio/ch/LinuxAsynchronousChannelProvider.java http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/tip/src/java.base/linux/native/libnio/fs/LinuxWatchService.c We have a place for both C and Java sources. Amazingly, there is even one assembly source file: http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/tip/src/java.desktop/unix/native/libawt/sun/awt/medialib/mlib_v_ImageCopy_blk.s But, there is no place at present for (a) ISA-dependent source files, or (b) ISA-and-platform-dependent source files. Definitions: An ISA-dependent source file is coded portably (perhaps in Java, or C with ifdefs) but makes use of specific instructions, such as SPARC VIS or Intel AVX. A ISA-and-platform-dependent source file is coded for a particular platform and ISA; a typical example would be an assembly file whose syntax is platform specific (like linux/x86). Context: The JNR system we are importing to Project Panama will include both types of source files. Straw man proposal: Allow the folder names "cpu.$CPU" and "$OS.$CPU" to occur as a sibling to "share" and $OS in source paths. Here's a BNF style description of JEP 201 source paths: path := 'src/' $MODULE '/' platform_scope '/' ( classes_path | native_path | conf_path ) platform_scope := 'share' | $OS classes_path := 'classes/' $PACKAGE '/' *.java native_path := 'native/' ( 'include/' *.{h,hpp} | $LIBRARY '/' *.{c,cpp} ) conf_path := 'conf/' * The change would be: platform_scope := 'share' | $OS | 'cpu.' $CPU | $OS '.' $CPU Observation 1: This scheme does not entangle the type of source (native vs. classes) with the platform scope. It thus allows for platform-specific assembly files, but encourages shared but ISA-specific code. Observation 2: Less mangled patterns like "share/cpu/$CPU" might be cleaner, but they also perturb the existing pathname lengths, by adding optional pathname components. Controlling pathname depth seems like a desirable goal. In cases where single output artifacts have to be built with support for multiple platforms, we would also add the cpu name somewhere in the $PACKAGE component, and/or the base name of the file (class name), as Graal does. (There is a possible followup question about deploying multiple ISAs and/or platforms in one artifact, kind of like a multi-JAR. But I think we can tackle that later, and it may be that package-name hacking will allow multiple ISAs to co-exist when needed, as is the case with Project Sumatra.) Comments? Does this look like a good starting point for organizing ISA-specific code for Panama? Thanks, ? John P.S. As a point of comparison, the hotspot repo uses this grammar, which supports only C and assembly code: path := 'src/' platform_scope '/vm/' $GROUP '/' *.{c,cpp,hpp} platform_scope := 'share' | 'cpu/' $CPU | 'os/' $OS | 'os_cpu/' $OS '_' $CPU where GROUP is something like 'code', 'asm', 'c1', 'classfile', etc., an informal grouping of source files in a language without packages. Also, the base name of the file repeats $OS and $CPU components, if present. Examples: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/file/tip/src/cpu/x86/vm/macroAssembler_x86.hpp http://hg.openjdk.java.net/jdk9/jdk9/hotspot/file/tip/src/os/linux/vm/osThread_linux.hpp http://hg.openjdk.java.net/jdk9/jdk9/hotspot/file/tip/src/os_cpu/linux_x86/vm/thread_linux_x86.hpp From samuel.audet at gmail.com Fri Sep 5 13:41:34 2014 From: samuel.audet at gmail.com (Samuel Audet) Date: Fri, 05 Sep 2014 22:41:34 +0900 Subject: Fwd: need advice on module structure for ISA-specific sources and classes In-Reply-To: <2E642C64-2E54-44DE-B891-25AAEA0B9825@oracle.com> References: <2E642C64-2E54-44DE-B891-25AAEA0B9825@oracle.com> Message-ID: <5409BD8E.7050208@gmail.com> Hello, John, It is really great to see someone tackling this problem seriously. I hope it works out. Actually, I would like to know more about this project, but I have not been able to find much information. So I would have a couple of questions, if this OK. Please correct me if I am wrong. From what I understand of the Panama Project, it would ideally support C++, according to your blog post here: https://blogs.oracle.com/jrose/entry/the_isthmus_in_the_vm Is this still the case? If so, I was wondering what was the plan w.r.t to that. From your post below, it looks like you are still planning on using JNR to become the base of this project, but I cannot find anything related to C++ in the source code of JNR here: https://github.com/jnr/ Are there more experimental branches of JNR somewhere else? Or has support for C++ been dropped? Or something else? Thank you for any clarifications, and sorry for the intrusion. Keep up the good work! Samuel On 09/05/2014 06:37 AM, John Rose wrote: > At Mark's suggestion, I sent the following query to jigsaw-dev. > > http://mail.openjdk.java.net/pipermail/jigsaw-dev/2014-September/003564.html > > Possible use cases: > 1. integrate ISA-dependent and platform-dependent code from JNR into JDK source layout. > 2. Organize ISA-dependent functions (VIS, AVX, TSX). > 3. Organize native code generators if needed. From john.r.rose at oracle.com Wed Sep 10 00:34:15 2014 From: john.r.rose at oracle.com (John Rose) Date: Tue, 9 Sep 2014 17:34:15 -0700 Subject: module structure for ISA-specific sources and classes References: <540EBE94.7040104@oracle.com> Message-ID: <778CD227-E8B7-4AF6-ADA2-75763D995AF3@oracle.com> I asked the Jigsaw-dev list for advice on placing ISA-specific code into the OpenJDK source tree. Below is the fullest answer; this appears to be the consensus. The full thread is here: http://mail.openjdk.java.net/pipermail/jigsaw-dev/2014-September/003574.html Summary: Let's use the existing names for OPENJDK_TARGET_CPU_ARCH (which are x86, arm, ppc, s390, sparc), placed as siblings of "share" and "$OS" in the source paths. I suggest that the assembly code and low-level C code in libffi should go here: src/java.base/x86/classes/jdk/internal/ffi/... The main idea is it would simplify the OpenJDK makefile access to cpu-specific code. The JNI code for JFFI, which is shared, can go here as expected: src/java.base/share/native/jdk/internal/ffi/... Also, this convention gives a couple more options for placing cpu-specific Java code: [0] src/java.base/share/classes/jdk/internal/jnr/x86asm/Assembler.java [1] src/java.base/x86/classes/jdk/internal/jnr/x86asm/Assembler.java [2] src/java.base/x86/classes/jdk/internal/jnr/asm/Assembler.java The current layout is something like [0], while [1] would give a clearer picture of where to find cpu-specific stuff. The option [2] may be overkill, unless Assembler implements a platform-independent API and we don't want to go through a provider-type API. Actually, I don't see a very strong reason to place Java code in cpu-specific top-level folders in the repo. The strongest reason (IMO) is to avoid building class files for cpus that are irrelevant to the currently-building cpu. But there aren't many such files, at least not yet, so the effect of building the extra files is a fleabite. There is a proposal for jointly-specialized folders too, which we can think about: solaris-x86, linux-sparc, etc., sibling with "share", "x86", and "linux". Unless there is a lot of native code for all these combinations, we shouldn't make those os-cpu folders. (Since we are doing JNI enhancements, we should be working under the java.base module, which is a new thing for JDK 9.) Comments? ? John Begin forwarded message: From: Magnus Ihse Bursie Subject: Re: need advice on module structure for ISA-specific sources and classes Date: September 9, 2014 at 1:47:16 AM PDT To: John Rose , jigsaw-dev at openjdk.java.net On 2014-09-04 23:13, John Rose wrote: > Straw man proposal: Allow the folder names "cpu.$CPU" and "$OS.$CPU" to occur as a sibling to "share" and $OS in source paths. I think the basic idea of putting hardware-dependent code in directories as "siblings" to the share and $OS directories is sound. In general, I'm a bit afraid of "over-engineering" in this kinds of issues. It is technically easy to make very strict hierarchies and structures, but in the real world it often turns out that: a) we're talking about a very small subset of the code base that is involved b) things get messy and do not nicely adhere to nice and strict categorizations. For instance, x86 code sometimes are shared between 32 and 64 bits, and sometimes not. Should you have a x86-common, x86-32 and x86-64? Or just a single x86, and deal with the differences in address size as it happens? I think it is worth remembering that any way to organize source code must be *helpful*, not just nicely categorized. And it must be helpful both to the engineers looking for code to modify, and to the build system to automatically figure out what should be included when compiling. So, the answer to the question in b) above is "it depends" -- if there are a lot of shared code and just a few places where address size differ, putting it all in "x86" seems reasonable. On the other hand, if there is very little shared code, splitting it up might make more sense. And if it is just a few lines in a few files, just using #ifdefs might be simpler. And such situations might change over time, and if the change has been to radical, it might be better to reorganize. I think the KISS-rule is a good guiding principle, and I think Johns proposal mostly follow that. The only thing I'd like to suggest instead is that we drop the "cpu." prefix. Sure, in theory we might get confused when someone releases the "x86 OS" or the "macosx CPU" :-) but in reality, there is no problem in telling the difference between windows and sparc. The only thing that is important is that we keep the same order of $OS and $CPU in the "combined" directories, so we do not mix "solaris.sparc" with "arm64.linux". It is also worth noting in the existing solution that the $OS directory is not strictly just OS. It either "OS" (windows, linux or macosx) or "OS type" (unix). So we already have different kind of separators as siblings to share. As for the build system, we find the source code to compile for a specific platform by combining the share directory with the directories matching the "OS" and the "OS type" (if they exist). It would be easy as pie to add $CPU and $OS.$CPU as well to that search path. In the build system, we define two variables for each target platform, OPENJDK_TARGET_CPU_ARCH and OPENJDK_TARGET_CPU, where the latter implies a specific address size as well. I would very much appreciate if the names used for the new directories match these variables (for example, the values for OPENJDK_TARGET_CPU_ARCH are: x86, arm, ppc, s390 and sparc), since that will allow us to keep consistency of the names in the build, and to do the directory matching without any name translations. (We've got too many of those already in legacy code :-/) Finally my personal opinion is that a dash is a better separator than a dot, e.g. "solaris-sparc" is more readable than "solaris.sparc" (and aligns better with what we've already done in the makefiles), but that's not a big deal. /Magnus From john.r.rose at oracle.com Thu Sep 11 20:31:34 2014 From: john.r.rose at oracle.com (John Rose) Date: Thu, 11 Sep 2014 13:31:34 -0700 Subject: warming up the isthmus Message-ID: <77F230FE-3272-4F79-AFAE-16633103F1A7@oracle.com> As you can see, we have a repo forest, but with nothing special in it: http://hg.openjdk.java.net/panama/panama/ You can pull it by saying: $ hg clone http://hg.openjdk.java.net/panama/panama ~/Projects/panama and then: $ (cd ~/Projects/panama; sh ./get_source.sh) Or you can clone in one go: $ trees='corba hotspot jaxp jaxws jdk langtools nashorn scratch' $ hg tclone http://hg.openjdk.java.net/panama/panama ~/Projects/panama --subtrees $trees We will be following the jdk9 repositories. So what's going to happen? We will shortly add new native interconnect logic (starting with JNR) and new data layouts (starting with an array processing package). The bigger picture is here: http://openjdk.java.net/projects/panama/ For pushing changes, there is no formal review process. If you are working on something, and it builds and can be tested somehow, push it so we can experiment with it. We can always back out mistakes, since this repository will not provide changeset history directly to the JDK. Best wishes, ? John From david.r.chase at oracle.com Thu Sep 11 20:55:49 2014 From: david.r.chase at oracle.com (David Chase) Date: Thu, 11 Sep 2014 16:55:49 -0400 Subject: warming up the isthmus In-Reply-To: <77F230FE-3272-4F79-AFAE-16633103F1A7@oracle.com> References: <77F230FE-3272-4F79-AFAE-16633103F1A7@oracle.com> Message-ID: <9D3E30FE-DE95-41B7-8A9D-B477CE898DC7@oracle.com> FYI, assuming I don?t screw it up, I am about to refresh panama, and that will enhance its buildability on Mavericks, where ?enhance? means ?it will not be broken?. There?s v1 of arrays2.0 waiting to go in. v2 is being hacked on. David On 2014-09-11, at 4:31 PM, John Rose wrote: > As you can see, we have a repo forest, but with nothing special in it: > http://hg.openjdk.java.net/panama/panama/ > > You can pull it by saying: > $ hg clone http://hg.openjdk.java.net/panama/panama ~/Projects/panama > and then: > $ (cd ~/Projects/panama; sh ./get_source.sh) > > Or you can clone in one go: > $ trees='corba hotspot jaxp jaxws jdk langtools nashorn scratch' > $ hg tclone http://hg.openjdk.java.net/panama/panama ~/Projects/panama --subtrees $trees > > We will be following the jdk9 repositories. > > So what's going to happen? We will shortly add new native interconnect logic (starting with JNR) and new data layouts (starting with an array processing package). > > The bigger picture is here: http://openjdk.java.net/projects/panama/ > > For pushing changes, there is no formal review process. If you are working on something, and it builds and can be tested somehow, push it so we can experiment with it. We can always back out mistakes, since this repository will not provide changeset history directly to the JDK. > > Best wishes, > ? John From david.r.chase at oracle.com Thu Sep 11 21:16:00 2014 From: david.r.chase at oracle.com (david.r.chase at oracle.com) Date: Thu, 11 Sep 2014 21:16:00 +0000 Subject: hg: panama/panama: 22 new changesets Message-ID: <201409112116.s8BLG0g5018636@aojmv0008> Changeset: 2a1d4d3e8c8e Author: simonis Date: 2014-08-29 12:02 +0200 URL: http://hg.openjdk.java.net/panama/panama/rev/2a1d4d3e8c8e 8056246: Fix AIX build after the Modular Source Code change 8054834 Reviewed-by: erikj, ihse ! common/autoconf/basics.m4 ! common/autoconf/generated-configure.sh Changeset: e0a080fd4047 Author: erikj Date: 2014-08-29 13:30 +0200 URL: http://hg.openjdk.java.net/panama/panama/rev/e0a080fd4047 8014510: Fix sjavac on all platforms in jprt Reviewed-by: ihse ! common/autoconf/boot-jdk.m4 ! common/autoconf/build-performance.m4 ! common/autoconf/configure.ac ! common/autoconf/generated-configure.sh Changeset: 3736cf40d962 Author: mchung Date: 2014-08-29 10:46 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/3736cf40d962 8055856: checkdeps build target doesn't work for cross-compilation builds 8056113: [build] tools.jar missing modules.xml Reviewed-by: ihse, erikj + make/CheckModules.gmk ! make/Main.gmk Changeset: 0610b52412cf Author: ihse Date: 2014-09-01 10:39 +0200 URL: http://hg.openjdk.java.net/panama/panama/rev/0610b52412cf 8027627: Don't hardcode bash path in LOG=trace Reviewed-by: erikj, tbell Contributed-by: Dmitry Samersoff ! make/common/MakeBase.gmk Changeset: d6cb4cea9c54 Author: prr Date: 2014-08-22 11:00 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/d6cb4cea9c54 8039271: CMM profile files (cmm/*) should not be in ${java.home}/lib Reviewed-by: bae, mchung, erikj ! make/CompileJavaModules.gmk Changeset: b3e42a2a9619 Author: prr Date: 2014-09-02 11:21 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/b3e42a2a9619 Merge ! make/CompileJavaModules.gmk Changeset: ce36ddb6dc61 Author: erikj Date: 2014-09-03 14:10 +0200 URL: http://hg.openjdk.java.net/panama/panama/rev/ce36ddb6dc61 8057132: Build fails if PROFILE is set in the environment Reviewed-by: ihse, dholmes, fparain ! make/Main.gmk Changeset: dc29cb072e8a Author: erikj Date: 2014-09-05 12:42 +0200 URL: http://hg.openjdk.java.net/panama/panama/rev/dc29cb072e8a 8057537: Serialize reconfigure and fix make clean-foo foo Reviewed-by: dholmes, ihse, tbell ! Makefile ! make/Main.gmk Changeset: 16f1b2409462 Author: ihse Date: 2014-09-09 15:12 +0200 URL: http://hg.openjdk.java.net/panama/panama/rev/16f1b2409462 8057125: The fix for JDK-8027627 was incomplete: Don't hardcode bash anywhere. Reviewed-by: erikj ! make/common/MakeBase.gmk Changeset: 5d7de212359d Author: simonis Date: 2014-09-09 17:42 +0100 URL: http://hg.openjdk.java.net/panama/panama/rev/5d7de212359d 8057538: Build the freetype library during configure on Windows Reviewed-by: erikj, ihse ! common/autoconf/generated-configure.sh ! common/autoconf/help.m4 ! common/autoconf/libraries.m4 ! common/autoconf/toolchain.m4 ! common/autoconf/toolchain_windows.m4 Changeset: fae1eb99785e Author: coffeys Date: 2014-09-10 16:13 +0100 URL: http://hg.openjdk.java.net/panama/panama/rev/fae1eb99785e 8057813: Alterations to jdk_security3 test target Reviewed-by: mullan, wetmore, xuelei ! make/jprt.properties Changeset: edbc7981f3be Author: mduigou Date: 2014-09-10 12:28 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/edbc7981f3be 8056195: Add CUSTOM_SUMMARY_AND_WARNINGS_HOOK Reviewed-by: ihse, erikj ! common/autoconf/configure.ac ! common/autoconf/generated-configure.sh Changeset: 9b44369c5737 Author: mchung Date: 2014-09-10 17:32 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/9b44369c5737 8057627: Add org.w3c.dom.ranges and org.w3c.dom.traversal as exported API in modules.xml Reviewed-by: alanb ! modules.xml Changeset: b4397a1f36c5 Author: katleman Date: 2014-08-21 14:16 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/b4397a1f36c5 Added tag jdk9-b27 for changeset ba5645f2735b ! .hgtags Changeset: ea2f7981236f Author: lana Date: 2014-08-28 14:53 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/ea2f7981236f Merge Changeset: 26da7905a6b2 Author: katleman Date: 2014-08-29 11:30 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/26da7905a6b2 Added tag jdk9-b28 for changeset ea2f7981236f ! .hgtags Changeset: 9e6581aeda38 Author: lana Date: 2014-08-29 11:56 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/9e6581aeda38 Merge Changeset: 44a5f9d70460 Author: katleman Date: 2014-09-04 13:26 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/44a5f9d70460 Added tag jdk9-b29 for changeset 9e6581aeda38 ! .hgtags Changeset: 36e9bc875325 Author: lana Date: 2014-09-04 14:44 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/36e9bc875325 Merge Changeset: 7047a1fd4aa8 Author: lana Date: 2014-09-10 19:36 -0700 URL: http://hg.openjdk.java.net/panama/panama/rev/7047a1fd4aa8 Merge Changeset: a1a2bb537718 Author: chegar Date: 2014-09-11 10:29 +0100 URL: http://hg.openjdk.java.net/panama/panama/rev/a1a2bb537718 8058117: Missing jdk.deploy.osx from modules.xml Reviewed-by: alanb, mchung ! modules.xml Changeset: 5b967bbbf123 Author: drchase Date: 2014-09-11 16:47 -0400 URL: http://hg.openjdk.java.net/panama/panama/rev/5b967bbbf123 Merge ! common/autoconf/generated-configure.sh From david.r.chase at oracle.com Thu Sep 11 21:16:08 2014 From: david.r.chase at oracle.com (david.r.chase at oracle.com) Date: Thu, 11 Sep 2014 21:16:08 +0000 Subject: hg: panama/panama/hotspot: 87 new changesets Message-ID: <201409112116.s8BLG9Nl018700@aojmv0008> Changeset: 91f25b8a47af Author: zgu Date: 2014-08-20 08:41 -0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/91f25b8a47af 8054546: NMT2 leaks memory Summary: Fixed memory leak in NMT by baselining memory in c heap instead of an arena. Reviewed-by: coleenp, minqi ! src/share/vm/services/mallocTracker.hpp ! src/share/vm/services/memBaseline.cpp ! src/share/vm/services/memBaseline.hpp Changeset: 6ae3b7da7952 Author: zgu Date: 2014-08-20 08:50 -0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/6ae3b7da7952 Merge Changeset: f2417008f618 Author: zgu Date: 2014-08-20 15:58 -0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/f2417008f618 8055236: Deadlock during NMT2 shutdown on Windows Summary: Removed MemTracker::shutdown() call to avoid deadlock Reviewed-by: minqi, ctornqvi ! src/os/windows/vm/os_windows.cpp Changeset: 115d958b07de Author: zgu Date: 2014-08-20 21:37 +0000 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/115d958b07de Merge Changeset: 943c5da523fd Author: ctornqvi Date: 2014-08-20 14:59 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/943c5da523fd 8055164: [TESTBUG] runtime/CompressedOops/CompressedClassPointers.java fails with OpenJDK build Summary: Removed explicit check for HotSpot in output Reviewed-by: sla, coleenp, hseigel ! test/runtime/CompressedOops/CompressedClassPointers.java Changeset: 23270ceb0be7 Author: ctornqvi Date: 2014-08-20 14:59 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/23270ceb0be7 8027480: Build Windows x64 fastdebug builds using /homeparams Summary: Windows x64 fastdebug builds now uses the /homeparams compiler flag Reviewed-by: dcubed, zgu, lfoltan ! make/windows/makefiles/vm.make ! src/share/tools/ProjectCreator/BuildConfig.java ! src/share/tools/ProjectCreator/WinGammaPlatformVC10.java ! src/share/tools/ProjectCreator/WinGammaPlatformVC7.java ! src/share/tools/ProjectCreator/WinGammaPlatformVC8.java Changeset: b231e0ef5547 Author: ctornqvi Date: 2014-08-21 01:43 +0000 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/b231e0ef5547 Merge Changeset: af72c1a537dc Author: igerasim Date: 2014-08-21 16:32 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/af72c1a537dc 8055338: (process) Add instrumentation to help diagnose JDK-6573254 Reviewed-by: dcubed, ohair, iklam, dholmes, sspitsyn, sla ! src/os/windows/vm/os_windows.cpp ! src/share/vm/runtime/java.cpp Changeset: f7df20ae08e2 Author: sla Date: 2014-08-22 08:13 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/f7df20ae08e2 8055754: filemap.cpp does not compile with clang Reviewed-by: kvn, iklam, coleenp ! src/share/vm/memory/filemap.cpp ! src/share/vm/memory/filemap.hpp Changeset: b5c908c4e997 Author: ctornqvi Date: 2014-08-22 09:30 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/b5c908c4e997 8055814: [TESTBUG] runtime/NMT/NMTWithCDS.java fails with product builds due to missing UnlockDiagnosticVMOptions Summary: Passing -XX:+UnlockDiagnosticVMOptions to ProcessBuilder Reviewed-by: zgu, gtriantafill ! test/runtime/NMT/NMTWithCDS.java Changeset: 6c4b3632b42f Author: dcubed Date: 2014-08-22 11:23 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/6c4b3632b42f Merge Changeset: 8519a5cf7cd4 Author: gtriantafill Date: 2014-08-22 06:46 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/8519a5cf7cd4 8055052: [TESTBUG] runtime/NMT/JcmdDetailDiff.java fails on Windows when there are no debug symbols available Reviewed-by: ctornqvi, hseigel ! test/runtime/NMT/JcmdDetailDiff.java Changeset: d764332b3890 Author: gtriantafill Date: 2014-08-22 07:38 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/d764332b3890 8055053: [TESTBUG] runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails Reviewed-by: ctornqvi, zgu ! test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java Changeset: 2d87b6b4660c Author: gtriantafill Date: 2014-08-21 14:37 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/2d87b6b4660c 8055684: runtime/NMT/CommandLineEmptyArgument.java fails Reviewed-by: ctornqvi, sla ! test/runtime/NMT/CommandLineEmptyArgument.java Changeset: 04b4bc792043 Author: gtriantafill Date: 2014-08-22 06:28 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/04b4bc792043 8055765: Misplaced @key stress prevents MallocSiteHashOverflow.java and MallocStressTest.java tests from running Reviewed-by: ctornqvi, zgu, hseigel ! test/runtime/NMT/MallocSiteHashOverflow.java ! test/runtime/NMT/MallocStressTest.java Changeset: 026e9d17ba9b Author: ctornqvi Date: 2014-08-22 14:21 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/026e9d17ba9b 8055844: [TESTBUG] test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails on Solaris Sparc due to incorrect page size being used Summary: Use 128KB chunks for virtual memory operations Reviewed-by: zgu, gtriantafill ! test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java Changeset: 86451b926286 Author: ccheung Date: 2014-08-25 00:13 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/86451b926286 8048150: Allow easy configurations for large CDS archives Summary: Estimate the size of shared archive based on the number of classes in the classlist file Reviewed-by: iklam, jiangli, minqi, dholmes ! src/share/vm/memory/metaspace.cpp ! src/share/vm/memory/metaspaceShared.cpp ! src/share/vm/memory/metaspaceShared.hpp Changeset: 8ae56f4f758f Author: ctornqvi Date: 2014-08-26 13:07 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/8ae56f4f758f 8041727: [TESTBUG] runtime/jsig/Test8017498.sh fails with Test8017498.sh: 50: [: x/usr/bin/gcc: unexpected operator Summary: Fixed shell script issues Reviewed-by: dcubed, gtriantafill ! test/runtime/jsig/Test8017498.sh Changeset: 820608bf2902 Author: kvn Date: 2014-08-22 12:03 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/820608bf2902 8055069: TSX and RTM should be deprecated more strongly until hardware is corrected Summary: Require to specify UnlockExperimentalVMOptions flag together with UseRTMLocking flag on un-patched systems where CPUID allows it but is unsupported otherwise. Reviewed-by: iveresov, fzhinkin ! src/cpu/x86/vm/vm_version_x86.cpp ! src/cpu/x86/vm/vm_version_x86.hpp ! test/compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig.java ! test/compiler/rtm/cli/TestUseRTMDeoptOptionOnSupportedConfig.java ! test/compiler/rtm/cli/TestUseRTMLockingOptionOnSupportedConfig.java ! test/compiler/rtm/cli/TestUseRTMLockingOptionWithBiasedLocking.java Changeset: b7cadec70148 Author: thartmann Date: 2014-08-25 07:08 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/b7cadec70148 8055751: TestAnonymousClassUnloading.java needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot Summary: Copy additional Whitebox class file to JTwork (required by JDK-8011397). Reviewed-by: kvn ! test/compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading.java Changeset: 3ce2966392ef Author: thartmann Date: 2014-08-25 07:04 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/3ce2966392ef 8055657: Test compiler/classUnloading/methodUnloading/TestMethodUnloading.java does not work with non-default GC Summary: Remove the '-XX:+UseParallelGC' parameter from the test because it is conflicting with other GC settings. Reviewed-by: kvn ! test/compiler/classUnloading/methodUnloading/TestMethodUnloading.java Changeset: 03792046279f Author: thartmann Date: 2014-08-25 07:44 +0000 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/03792046279f Merge Changeset: 09bd266452ee Author: zmajo Date: 2014-08-27 10:02 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/09bd266452ee 8051415: TypeTuple::make_domain() and TypeTuple::make_range() allocate too much memory Summary: Change memory allocation in TypeTuple::make_domain() and TypeTuple::make_range() to not allocate memory for TypeFunc::Parms. Reviewed-by: kvn, roland ! src/share/vm/opto/type.cpp ! src/share/vm/opto/type.hpp Changeset: 3c92cbe3250f Author: iignatyev Date: 2014-08-27 17:09 +0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/3c92cbe3250f 8056072: add jprt_optimized targets Reviewed-by: kvn, roland ! make/Makefile ! make/jprt.gmk ! make/jprt.properties Changeset: 6a88438902fb Author: rbackman Date: 2014-08-28 18:31 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/6a88438902fb Merge Changeset: c9f4b775ec14 Author: brutisso Date: 2014-08-25 08:27 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/c9f4b775ec14 8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp Reviewed-by: stefank, mgerdin ! src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp Changeset: 73f74a485368 Author: stefank Date: 2014-08-25 09:10 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/73f74a485368 8055416: Several vm/gc/heap/summary "After GC" events emitted for the same GC ID Reviewed-by: brutisso, ehelin ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp Changeset: 8ef8e5c997cc Author: stefank Date: 2014-08-25 07:35 +0000 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/8ef8e5c997cc Merge Changeset: 7808b2d5d604 Author: tschatzl Date: 2014-08-26 09:36 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/7808b2d5d604 8054819: Rename HeapRegionSeq to HeapRegionManager Reviewed-by: jwilhelm, jmasa ! agent/src/share/classes/sun/jvm/hotspot/gc_implementation/g1/G1CollectedHeap.java + agent/src/share/classes/sun/jvm/hotspot/gc_implementation/g1/HeapRegionManager.java - agent/src/share/classes/sun/jvm/hotspot/gc_implementation/g1/HeapRegionSeq.java ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp ! src/share/vm/gc_implementation/g1/g1RemSet.cpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp + src/share/vm/gc_implementation/g1/heapRegionManager.cpp + src/share/vm/gc_implementation/g1/heapRegionManager.hpp + src/share/vm/gc_implementation/g1/heapRegionManager.inline.hpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp - src/share/vm/gc_implementation/g1/heapRegionSeq.cpp - src/share/vm/gc_implementation/g1/heapRegionSeq.hpp - src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp ! src/share/vm/gc_implementation/g1/heapRegionSet.cpp ! src/share/vm/gc_implementation/g1/heapRegionSet.hpp ! src/share/vm/gc_implementation/g1/heapRegionSet.inline.hpp ! src/share/vm/gc_implementation/g1/sparsePRT.cpp ! src/share/vm/gc_implementation/g1/vmStructs_g1.hpp ! src/share/vm/oops/instanceKlass.cpp ! src/share/vm/oops/instanceMirrorKlass.cpp ! src/share/vm/oops/instanceRefKlass.cpp ! src/share/vm/oops/objArrayKlass.cpp Changeset: 6227e3d7a5b6 Author: jmasa Date: 2014-08-28 08:56 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/6227e3d7a5b6 Merge Changeset: 3e66f85c4b33 Author: jmasa Date: 2014-08-28 17:45 +0000 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/3e66f85c4b33 Merge - agent/src/share/classes/sun/jvm/hotspot/gc_implementation/g1/HeapRegionSeq.java - src/share/vm/gc_implementation/g1/heapRegionSeq.cpp - src/share/vm/gc_implementation/g1/heapRegionSeq.hpp - src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp Changeset: 0a92f32c3883 Author: tschatzl Date: 2014-08-26 14:15 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/0a92f32c3883 8055953: [TESTBUG] Fix for 8055098 does not contain unit test Summary: Add missing unit test. Reviewed-by: tschatzl Contributed-by: Leonid Mesnik + test/gc/whitebox/TestWBGC.java Changeset: fc146c1f9594 Author: tschatzl Date: 2014-08-26 14:15 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/fc146c1f9594 8055919: Remove dead code in G1 concurrent marking code Reviewed-by: jmasa, jwilhelm ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMark.hpp ! src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp Changeset: 8024c15868c8 Author: tschatzl Date: 2014-08-27 08:59 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/8024c15868c8 8056043: Heap does not shrink within the heap after JDK-8038423 Summary: Enable shrinking within the heap by removing some code added for JDK-8054818. Enable the test case that checks that again too. Reviewed-by: jwilhelm, jmasa ! src/share/vm/gc_implementation/g1/heapRegionManager.cpp ! test/gc/g1/TestHumongousShrinkHeap.java Changeset: 9c6176aa57b9 Author: brutisso Date: 2014-08-27 10:51 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/9c6176aa57b9 8055816: Remove dead code in g1BlockOffsetTable Reviewed-by: tschatzl, mgerdin ! src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp ! src/share/vm/gc_implementation/g1/g1BlockOffsetTable.hpp ! src/share/vm/gc_implementation/g1/g1BlockOffsetTable.inline.hpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp Changeset: 48de4d583857 Author: brutisso Date: 2014-08-27 09:22 +0000 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/48de4d583857 Merge Changeset: 14c813b8ba20 Author: sjohanss Date: 2014-08-27 09:47 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/14c813b8ba20 8028787: tmtools/jstat/gcoldcapacity/jstat_gcoldcapacity02 fails nsk.share.Failure: OGC < OGCMN in RT_Baseline Summary: Passing the min and max size of the generation into the counter instead of using the space to estimate sizes. Reviewed-by: stefank, tschatzl ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.cpp ! src/share/vm/gc_implementation/parallelScavenge/psGenerationCounters.hpp ! src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp ! src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp ! src/share/vm/gc_implementation/shared/generationCounters.cpp ! src/share/vm/gc_implementation/shared/generationCounters.hpp ! src/share/vm/memory/defNewGeneration.cpp ! src/share/vm/memory/tenuredGeneration.cpp Changeset: 2c2fbe2d095a Author: jmasa Date: 2014-08-28 11:25 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/2c2fbe2d095a Merge Changeset: 647c1493f833 Author: tschatzl Date: 2014-08-28 17:05 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/647c1493f833 8054808: Bitmap verification sometimes fails after Full GC aborts concurrent mark. Summary: The verification code that checked whether no bitmap mark had been found re-read HeapRegion::end() after the check on the bitmap. Concurrent humongous object allocation could have changed HeapRegion::end() in the meantime. Fix this by using the actual end of the region instead of HeapRegion::end() for comparison. Reviewed-by: brutisso, jmasa ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp Changeset: fb7e346a0f3f Author: jmasa Date: 2014-08-29 08:07 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/fb7e346a0f3f Merge ! src/share/vm/gc_implementation/g1/heapRegion.hpp Changeset: b515190809d5 Author: dfazunen Date: 2014-08-28 18:38 +0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/b515190809d5 8050464: G1 string deduplication tests hang/timeout and leave running processes consuming all resources Reviewed-by: jmasa ! test/gc/g1/TestStringDeduplicationTools.java Changeset: 40c22d6c0cef Author: tschatzl Date: 2014-08-28 17:06 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/40c22d6c0cef Merge ! src/share/vm/gc_implementation/g1/heapRegion.hpp Changeset: aa64b1cbb1b8 Author: tschatzl Date: 2014-08-28 15:55 +0000 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/aa64b1cbb1b8 Merge Changeset: 1a3bdc233bda Author: jmasa Date: 2014-08-29 08:14 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/1a3bdc233bda Merge Changeset: dc1a065e6989 Author: ccheung Date: 2014-08-27 10:42 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/dc1a065e6989 8056175: Change "8048150: Allow easy configurations for large CDS archives" triggers conversion warning with older GCC Summary: cast the result of the conversion to uintx Reviewed-by: ccheung, coleenp Contributed-by: volker.simonis at gmail.com ! src/share/vm/memory/metaspaceShared.hpp Changeset: fe13911efa5b Author: sla Date: 2014-08-28 10:28 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/fe13911efa5b 8055755: Information about loaded dynamic libraries is wrong on MacOSX Summary: The information about loaded dynamic libraries printed in hs_err_pid files or by running the jcmd VM.dynlib is partly incorrect. The address printed in front of the library file name is wrong. Reviewed-by: sla, gziemski, gtriantafill Contributed-by: fredrik.arvidsson at oracle.com ! src/os/bsd/vm/os_bsd.cpp Changeset: 92bc0d7679a7 Author: dsamersoff Date: 2014-08-28 06:32 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/92bc0d7679a7 8031583: warnings from b03 for hotspot/agent/src/os/solaris/proc: JNI exception pending Summary: Added missed exception checks Reviewed-by: sla, sspitsyn ! agent/src/os/solaris/proc/saproc.cpp Changeset: 68e9f36fd6c8 Author: dsamersoff Date: 2014-08-28 07:46 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/68e9f36fd6c8 8029172: warnings from b117 for hotspot.agent.src.os.linux: JNI exception pending Summary: Added missed exception checks Reviewed-by: chegar, sla ! agent/src/os/linux/LinuxDebuggerLocal.c Changeset: 4acab3118361 Author: coleenp Date: 2014-08-28 11:29 -0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/4acab3118361 8049105: Move array component mirror to instance of java/lang/Class (hotspot part 2) Summary: This removes component mirrors from arrayKlass metadata and the C2 intrinsic for them. Reviewed-by: kvn, twisti, mgerdin ! agent/src/share/classes/sun/jvm/hotspot/oops/ArrayKlass.java ! make/aix/makefiles/mapfile-vers-debug ! make/aix/makefiles/mapfile-vers-product ! make/bsd/makefiles/mapfile-vers-darwin-debug ! make/bsd/makefiles/mapfile-vers-darwin-product ! make/bsd/makefiles/mapfile-vers-debug ! make/bsd/makefiles/mapfile-vers-product ! make/linux/makefiles/mapfile-vers-debug ! make/linux/makefiles/mapfile-vers-product ! make/solaris/makefiles/mapfile-vers ! src/share/vm/ci/ciArrayKlass.hpp ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/javaClasses.hpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/oops/arrayKlass.cpp ! src/share/vm/oops/arrayKlass.hpp ! src/share/vm/oops/klass.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/memnode.cpp ! src/share/vm/prims/jvm.cpp ! src/share/vm/prims/jvm.h ! src/share/vm/runtime/reflection.cpp ! src/share/vm/runtime/vmStructs.cpp Changeset: 6e55d72da10c Author: coleenp Date: 2014-08-28 11:30 -0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/6e55d72da10c Merge Changeset: fca0e8790cca Author: coleenp Date: 2014-08-28 15:44 +0000 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/fca0e8790cca Merge Changeset: 920134274861 Author: lfoltan Date: 2014-08-28 11:56 -0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/920134274861 8054355: ENFORCE_CC_COMPILER_REV needs to be updated to Solaris C++ 12u3 for JDK 9. Summary: Update of C++ validiation check for JDK 9 on Solaris. Reviewed-by: coleenp, dcubed, kvn ! make/solaris/makefiles/sparcWorks.make Changeset: 34f2b1c63639 Author: lfoltan Date: 2014-08-28 13:01 -0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/34f2b1c63639 Merge Changeset: c8238a5aa66a Author: sla Date: 2014-08-29 13:34 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/c8238a5aa66a 8055838: Hotspot does not compile with clang 6.0 (OS X Yosemite) Reviewed-by: lfoltan, kvn ! make/bsd/makefiles/gcc.make Changeset: 2e3b1aa376cc Author: sspitsyn Date: 2014-08-29 11:35 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/2e3b1aa376cc Merge Changeset: 9cfb26e195ac Author: iklam Date: 2014-09-02 09:51 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/9cfb26e195ac 8056971: Minor class loading clean-up Summary: Misplacement of #if INCLUE_CDS, typos, unnecessary C string duplication Reviewed-by: dholmes, ccheung ! src/share/vm/classfile/classFileStream.cpp ! src/share/vm/classfile/classFileStream.hpp ! src/share/vm/classfile/classLoader.cpp ! src/share/vm/classfile/classLoader.hpp ! src/share/vm/classfile/classLoaderExt.hpp ! src/share/vm/classfile/sharedPathsMiscInfo.cpp ! src/share/vm/classfile/sharedPathsMiscInfo.hpp ! src/share/vm/classfile/systemDictionary.cpp Changeset: 04760b64fe35 Author: ctornqvi Date: 2014-09-03 17:30 -0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/04760b64fe35 8057147: [TESTBUG] Platform.isDebugBuild() doesn't work on all build types Summary: Check java.version for debug string as well Reviewed-by: gtriantafill, hseigel, sla, acorn, dcubed ! test/testlibrary/com/oracle/java/testlibrary/Platform.java Changeset: f80bb126b5bb Author: mgerdin Date: 2014-08-29 13:08 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/f80bb126b5bb 8056084: Refactor Hashtable to allow implementations without rehashing support Reviewed-by: gziemski, jmasa, brutisso, coleenp, tschatzl ! src/share/vm/classfile/stringTable.cpp ! src/share/vm/classfile/stringTable.hpp ! src/share/vm/classfile/symbolTable.cpp ! src/share/vm/classfile/symbolTable.hpp ! src/share/vm/utilities/hashtable.cpp ! src/share/vm/utilities/hashtable.hpp Changeset: 0517bedd0d58 Author: mgerdin Date: 2014-08-29 13:12 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/0517bedd0d58 8048268: G1 Code Root Migration performs poorly Summary: Replace G1CodeRootSet with a Hashtable based implementation, merge Code Root Migration phase into Code Root Scanning Reviewed-by: jmasa, brutisso, tschatzl ! src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.cpp ! src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1EvacFailure.hpp ! src/share/vm/gc_implementation/g1/g1GCPhaseTimes.cpp ! src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp ! src/share/vm/gc_implementation/g1/g1RemSet.cpp ! src/share/vm/gc_implementation/g1/g1RemSet.hpp ! src/share/vm/gc_implementation/g1/g1RemSetSummary.cpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp ! src/share/vm/memory/freeList.cpp ! src/share/vm/utilities/hashtable.cpp Changeset: cc5a4555c40d Author: stefank Date: 2014-09-03 12:45 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/cc5a4555c40d 8057037: Verification in ClassLoaderData::is_alive is too slow Reviewed-by: brutisso, mgerdin, tschatzl ! src/share/vm/classfile/classLoaderData.cpp Changeset: 5542c5da9622 Author: tschatzl Date: 2014-09-03 17:01 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/5542c5da9622 8057143: Incomplete renaming of variables containing "hrs" to "hrm" related to HeapRegionSeq Summary: Fixup the remaining variable names. Reviewed-by: tonyp, jwilhelm ! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Changeset: 3f41fe2dbb85 Author: tschatzl Date: 2014-09-03 15:07 +0000 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/3f41fe2dbb85 Merge Changeset: 9f4c8b92cb95 Author: jmasa Date: 2014-09-04 12:25 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/9f4c8b92cb95 Merge Changeset: bc623e36f874 Author: jmasa Date: 2014-09-04 13:45 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/bc623e36f874 Merge Changeset: 132677ca8e4e Author: iignatyev Date: 2014-08-28 23:30 +0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/132677ca8e4e 8056223: typo in export_optimized_jdk Reviewed-by: kvn ! make/Makefile Changeset: 949cc7926b7e Author: thartmann Date: 2014-08-29 14:46 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/949cc7926b7e 8056067: NodeHash debug variables are available in product build Summary: Make NodeHash debug variables only available in debug/optimized build. Reviewed-by: kvn, roland ! src/share/vm/opto/phaseX.cpp ! src/share/vm/opto/phaseX.hpp Changeset: 5cb3c079bf70 Author: zmajo Date: 2014-08-29 15:32 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/5cb3c079bf70 8055286: Extend CompileCommand=option to handle numeric parameters Summary: Changed CompileCommand=option to handle "extended" parameters: Klass::method,type,flag,value. Types supported are bool, intx, and uintx. Reviewed-by: kvn, roland ! src/share/vm/compiler/compilerOracle.cpp ! src/share/vm/compiler/compilerOracle.hpp Changeset: 3a2d373abcab Author: thartmann Date: 2014-08-29 13:46 +0000 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/3a2d373abcab Merge Changeset: bb102ba0100f Author: drchase Date: 2014-08-29 19:45 -0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/bb102ba0100f 8054292: code comments leak in fastdebug builds Summary: Added deallocation to destructor; hardened interface against misuse Reviewed-by: kvn ! src/share/vm/asm/codeBuffer.cpp ! src/share/vm/asm/codeBuffer.hpp ! src/share/vm/code/codeBlob.cpp ! src/share/vm/compiler/disassembler.cpp ! src/share/vm/interpreter/interpreter.hpp Changeset: a9581f019c38 Author: kvn Date: 2014-09-02 10:26 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/a9581f019c38 8056964: JDK-8055286 changes are incomplete. Summary: added ccstr and ccstrlist types to compilerOracle 'option' command Reviewed-by: roland ! src/share/vm/ci/ciMethod.cpp ! src/share/vm/ci/ciMethod.hpp ! src/share/vm/compiler/compilerOracle.cpp ! src/share/vm/opto/compile.hpp Changeset: 427de14928ab Author: kvn Date: 2014-09-02 12:48 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/427de14928ab 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method Summary: Add new C2 intrinsic for BigInteger::multiplyToLen() on x86 in 64-bit VM. Reviewed-by: roland ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/globals_x86.hpp ! src/cpu/x86/vm/macroAssembler_x86.cpp ! src/cpu/x86/vm/macroAssembler_x86.hpp ! src/cpu/x86/vm/stubGenerator_x86_64.cpp ! src/cpu/x86/vm/vm_version_x86.cpp ! src/cpu/x86/vm/vm_version_x86.hpp ! src/share/vm/asm/register.hpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/opto/c2_globals.hpp ! src/share/vm/opto/escape.cpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/runtime.cpp ! src/share/vm/opto/runtime.hpp ! src/share/vm/runtime/stubRoutines.cpp ! src/share/vm/runtime/stubRoutines.hpp ! src/share/vm/runtime/vmStructs.cpp + test/compiler/intrinsics/multiplytolen/TestMultiplyToLen.java Changeset: 4b78b9dddd05 Author: roland Date: 2014-08-29 16:32 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/4b78b9dddd05 8055910: closed/java/util/Collections/CheckedCollections.java failed with ClassCastException not thrown Summary: missing subtype check for Arrays.copyOf intrinsic Reviewed-by: kvn, iveresov ! src/share/vm/opto/callnode.cpp ! src/share/vm/opto/callnode.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/macroArrayCopy.cpp ! src/share/vm/opto/memnode.cpp + test/compiler/arraycopy/TestArrayOfNoTypeCheck.java Changeset: df76aa0bf77f Author: roland Date: 2014-08-27 17:37 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/df76aa0bf77f 8055946: assert(result == NULL || result->is_oop()) failed: must be oop Summary: caller of popped frame doesn't have valid result during deoptimization Reviewed-by: kvn ! src/share/vm/runtime/deoptimization.cpp Changeset: a274904ceb95 Author: fzhinkin Date: 2014-09-03 15:24 +0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/a274904ceb95 8056091: Move compiler/intrinsics/mathexact/sanity/Verifier to compiler/testlibrary and extend its functionality Reviewed-by: kvn, iignatyev ! test/compiler/intrinsics/mathexact/sanity/AddExactIntTest.java ! test/compiler/intrinsics/mathexact/sanity/AddExactLongTest.java ! test/compiler/intrinsics/mathexact/sanity/DecrementExactIntTest.java ! test/compiler/intrinsics/mathexact/sanity/DecrementExactLongTest.java ! test/compiler/intrinsics/mathexact/sanity/IncrementExactIntTest.java ! test/compiler/intrinsics/mathexact/sanity/IncrementExactLongTest.java ! test/compiler/intrinsics/mathexact/sanity/IntrinsicBase.java ! test/compiler/intrinsics/mathexact/sanity/MultiplyExactIntTest.java ! test/compiler/intrinsics/mathexact/sanity/MultiplyExactLongTest.java ! test/compiler/intrinsics/mathexact/sanity/NegateExactIntTest.java ! test/compiler/intrinsics/mathexact/sanity/NegateExactLongTest.java ! test/compiler/intrinsics/mathexact/sanity/SubtractExactIntTest.java ! test/compiler/intrinsics/mathexact/sanity/SubtractExactLongTest.java - test/compiler/intrinsics/mathexact/sanity/Verifier.java + test/compiler/testlibrary/intrinsics/Verifier.java Changeset: 846fc505810a Author: fzhinkin Date: 2014-09-03 15:26 +0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/846fc505810a 8055903: Develop sanity tests on SPARC's SHA instructions support Reviewed-by: kvn, iignatyev + test/compiler/intrinsics/sha/sanity/SHASanityTestBase.java + test/compiler/intrinsics/sha/sanity/TestSHA1Intrinsics.java + test/compiler/intrinsics/sha/sanity/TestSHA1MultiBlockIntrinsics.java + test/compiler/intrinsics/sha/sanity/TestSHA256Intrinsics.java + test/compiler/intrinsics/sha/sanity/TestSHA256MultiBlockIntrinsics.java + test/compiler/intrinsics/sha/sanity/TestSHA512Intrinsics.java + test/compiler/intrinsics/sha/sanity/TestSHA512MultiBlockIntrinsics.java + test/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java Changeset: 676f67452a76 Author: fzhinkin Date: 2014-09-03 15:29 +0400 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/676f67452a76 8055904: Develop tests for new command-line options related to SHA intrinsics Reviewed-by: kvn, iignatyev + test/compiler/intrinsics/sha/cli/SHAOptionsBase.java + test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnSupportedCPU.java + test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnUnsupportedCPU.java + test/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnSupportedCPU.java + test/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnUnsupportedCPU.java + test/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnSupportedCPU.java + test/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnUnsupportedCPU.java + test/compiler/intrinsics/sha/cli/TestUseSHAOptionOnSupportedCPU.java + test/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java + test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java + test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForSupportedSparcCPU.java + test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForUnsupportedSparcCPU.java + test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForUnsupportedX86CPU.java + test/compiler/intrinsics/sha/cli/testcases/UseSHAIntrinsicsSpecificTestCaseForUnsupportedSparcCPU.java + test/compiler/intrinsics/sha/cli/testcases/UseSHASpecificTestCaseForSupportedSparcCPU.java + test/compiler/intrinsics/sha/cli/testcases/UseSHASpecificTestCaseForUnsupportedSparcCPU.java Changeset: 5a313cfb5637 Author: roland Date: 2014-08-02 06:15 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/5a313cfb5637 8057038: Speculative traps not robust when compilation and class unloading are concurrent Summary: speculative traps can be removed from MDO while being copied by compiler Reviewed-by: kvn, iveresov ! src/share/vm/ci/ciMethodData.cpp ! src/share/vm/ci/ciMethodData.hpp ! src/share/vm/oops/methodData.cpp ! src/share/vm/oops/methodData.hpp Changeset: cbae7c62e1bd Author: simonis Date: 2014-09-03 14:39 +0200 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/cbae7c62e1bd 8057129: Fix AIX build after the Extend CompileCommand=option change 8055286 Reviewed-by: kvn ! src/share/vm/compiler/compilerOracle.cpp Changeset: 624c017f6d94 Author: kvn Date: 2014-09-04 22:59 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/624c017f6d94 Merge - agent/src/share/classes/sun/jvm/hotspot/gc_implementation/g1/HeapRegionSeq.java ! src/share/vm/classfile/vmSymbols.hpp - src/share/vm/gc_implementation/g1/heapRegionSeq.cpp - src/share/vm/gc_implementation/g1/heapRegionSeq.hpp - src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/memnode.cpp ! src/share/vm/runtime/vmStructs.cpp Changeset: 4d8e3da49d77 Author: katleman Date: 2014-08-21 14:16 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/4d8e3da49d77 Added tag jdk9-b27 for changeset f95347244306 ! .hgtags Changeset: 657294869d7f Author: lana Date: 2014-08-28 14:53 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/657294869d7f Merge - src/share/vm/services/memPtr.cpp - src/share/vm/services/memPtr.hpp - src/share/vm/services/memPtrArray.hpp - src/share/vm/services/memRecorder.cpp - src/share/vm/services/memRecorder.hpp - src/share/vm/services/memSnapshot.cpp - src/share/vm/services/memSnapshot.hpp - src/share/vm/services/memTrackWorker.cpp - src/share/vm/services/memTrackWorker.hpp Changeset: 0050efd213f1 Author: katleman Date: 2014-08-29 11:30 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/0050efd213f1 Added tag jdk9-b28 for changeset 657294869d7f ! .hgtags Changeset: deb29e92f68a Author: lana Date: 2014-08-29 11:57 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/deb29e92f68a Merge Changeset: 79a01e915f52 Author: katleman Date: 2014-09-04 13:26 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/79a01e915f52 Added tag jdk9-b29 for changeset deb29e92f68a ! .hgtags Changeset: 5c722dffbc0f Author: lana Date: 2014-09-04 14:45 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/5c722dffbc0f Merge Changeset: efb715d3f337 Author: lana Date: 2014-09-10 19:36 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/efb715d3f337 Merge - test/compiler/intrinsics/mathexact/sanity/Verifier.java Changeset: efd9baea1186 Author: wetmore Date: 2014-09-11 12:18 -0700 URL: http://hg.openjdk.java.net/panama/panama/hotspot/rev/efd9baea1186 8058180: .hgignore should be updated with webrev in all repos Reviewed-by: jrose, katleman, jjg ! .hgignore From david.r.chase at oracle.com Thu Sep 11 21:17:02 2014 From: david.r.chase at oracle.com (david.r.chase at oracle.com) Date: Thu, 11 Sep 2014 21:17:02 +0000 Subject: hg: panama/panama/corba: 6 new changesets Message-ID: <201409112117.s8BLH2co018830@aojmv0008> Changeset: 70ef7eca74d0 Author: katleman Date: 2014-08-21 14:16 -0700 URL: http://hg.openjdk.java.net/panama/panama/corba/rev/70ef7eca74d0 Added tag jdk9-b27 for changeset 7e06bf1dcb09 ! .hgtags Changeset: a00b04ef067e Author: lana Date: 2014-08-28 14:53 -0700 URL: http://hg.openjdk.java.net/panama/panama/corba/rev/a00b04ef067e Merge Changeset: 85bac03b064e Author: katleman Date: 2014-08-29 11:30 -0700 URL: http://hg.openjdk.java.net/panama/panama/corba/rev/85bac03b064e Added tag jdk9-b28 for changeset a00b04ef067e ! .hgtags Changeset: 163a9cd806fd Author: lana Date: 2014-08-29 11:59 -0700 URL: http://hg.openjdk.java.net/panama/panama/corba/rev/163a9cd806fd Merge Changeset: 98967ae6ae53 Author: katleman Date: 2014-09-04 13:26 -0700 URL: http://hg.openjdk.java.net/panama/panama/corba/rev/98967ae6ae53 Added tag jdk9-b29 for changeset 163a9cd806fd ! .hgtags Changeset: 9baf79eda109 Author: wetmore Date: 2014-09-11 12:17 -0700 URL: http://hg.openjdk.java.net/panama/panama/corba/rev/9baf79eda109 8058180: .hgignore should be updated with webrev in all repos Reviewed-by: jrose, katleman, jjg ! .hgignore From david.r.chase at oracle.com Thu Sep 11 21:17:06 2014 From: david.r.chase at oracle.com (david.r.chase at oracle.com) Date: Thu, 11 Sep 2014 21:17:06 +0000 Subject: hg: panama/panama/jaxp: 10 new changesets Message-ID: <201409112117.s8BLH6sb018876@aojmv0008> Changeset: 65e6291d9ba9 Author: joehw Date: 2014-08-29 11:49 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxp/rev/65e6291d9ba9 8037819: Xerces Update: jaxp/validation/XMLSchemaFactory Reviewed-by: lancea ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/Constants.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/dv/ValidatedInfo.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSchemaMessages.properties + src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/validation/ConfigurableValidationState.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/XMLSchemaValidator.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchema.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaFactory.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/StandardParserConfiguration.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/XML11Configuration.java Changeset: 93a5ed174422 Author: joehw Date: 2014-09-05 14:04 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxp/rev/93a5ed174422 8056202: Xerces Update: Catalog Resolver Reviewed-by: lancea ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/Catalog.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/CatalogEntry.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/CatalogException.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/CatalogManager.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/Resolver.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/helpers/BootstrapResolver.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/helpers/Debug.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/helpers/FileURL.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/helpers/Namespaces.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/helpers/PublicId.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/readers/CatalogReader.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/readers/DOMCatalogParser.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/readers/DOMCatalogReader.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/readers/ExtendedXMLCatalogReader.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/readers/OASISXMLCatalogReader.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/readers/SAXCatalogParser.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/readers/SAXCatalogReader.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/readers/SAXParserHandler.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/readers/TR9401CatalogReader.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/readers/TextCatalogReader.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/readers/XCatalogReader.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/tools/CatalogResolver.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/tools/ResolvingParser.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/tools/ResolvingXMLFilter.java ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/resolver/tools/ResolvingXMLReader.java Changeset: 705a3999eb77 Author: martin Date: 2014-09-10 15:17 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxp/rev/705a3999eb77 8058175: [XML 1.0/1.1] - Attribute values with supplemental characters are being corrupted. Reviewed-by: joehw ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XMLScanner.java Changeset: 4cee8896e207 Author: katleman Date: 2014-08-21 14:16 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxp/rev/4cee8896e207 Added tag jdk9-b27 for changeset 2bfaf29cc90b ! .hgtags Changeset: dc1e26434b3f Author: lana Date: 2014-08-28 14:53 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxp/rev/dc1e26434b3f Merge Changeset: d83a4c26b52e Author: katleman Date: 2014-08-29 11:30 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxp/rev/d83a4c26b52e Added tag jdk9-b28 for changeset dc1e26434b3f ! .hgtags Changeset: 30adcd13a313 Author: lana Date: 2014-08-29 11:56 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxp/rev/30adcd13a313 Merge Changeset: d181d4002214 Author: katleman Date: 2014-09-04 13:26 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxp/rev/d181d4002214 Added tag jdk9-b29 for changeset 30adcd13a313 ! .hgtags Changeset: e3853f655392 Author: lana Date: 2014-09-10 19:38 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxp/rev/e3853f655392 Merge Changeset: 9729d853cb16 Author: wetmore Date: 2014-09-11 12:17 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxp/rev/9729d853cb16 8058180: .hgignore should be updated with webrev in all repos Reviewed-by: jrose, katleman, jjg ! .hgignore From david.r.chase at oracle.com Thu Sep 11 21:17:09 2014 From: david.r.chase at oracle.com (david.r.chase at oracle.com) Date: Thu, 11 Sep 2014 21:17:09 +0000 Subject: hg: panama/panama/jaxws: 5 new changesets Message-ID: <201409112117.s8BLH9j8018922@aojmv0008> Changeset: a276577c5759 Author: katleman Date: 2014-08-21 14:16 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxws/rev/a276577c5759 Added tag jdk9-b27 for changeset dcaa586ab756 ! .hgtags Changeset: 5282a14f131f Author: lana Date: 2014-08-28 14:53 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxws/rev/5282a14f131f Merge Changeset: 3d1a4bfb6abb Author: katleman Date: 2014-08-29 11:30 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxws/rev/3d1a4bfb6abb Added tag jdk9-b28 for changeset 5282a14f131f ! .hgtags Changeset: e58d3ea638c3 Author: katleman Date: 2014-09-04 13:26 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxws/rev/e58d3ea638c3 Added tag jdk9-b29 for changeset 3d1a4bfb6abb ! .hgtags Changeset: 434628e088ce Author: wetmore Date: 2014-09-11 12:18 -0700 URL: http://hg.openjdk.java.net/panama/panama/jaxws/rev/434628e088ce 8058180: .hgignore should be updated with webrev in all repos Reviewed-by: jrose, katleman, jjg ! .hgignore From david.r.chase at oracle.com Thu Sep 11 21:17:13 2014 From: david.r.chase at oracle.com (david.r.chase at oracle.com) Date: Thu, 11 Sep 2014 21:17:13 +0000 Subject: hg: panama/panama/langtools: 35 new changesets Message-ID: <201409112117.s8BLHE1o018970@aojmv0008> Changeset: 00d021d01485 Author: ksrini Date: 2014-08-27 06:25 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/00d021d01485 8038732: [javadoc] NetBeans IDE target does not build doclets Reviewed-by: jjg, jlahoda ! make/build.properties ! make/build.xml ! make/tools/anttasks/GenStubsTask.java ! make/tools/anttasks/SelectToolTask.java Changeset: bc4d5d9f30f0 Author: ksrini Date: 2014-08-26 08:12 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/bc4d5d9f30f0 8054925: [javadoc] refactor the Doclet start method. Reviewed-by: jjg ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/HtmlDoclet.java ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/AbstractDoclet.java Changeset: 506a8e26a53e Author: ksrini Date: 2014-08-27 06:56 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/506a8e26a53e 8050031: [javadoc] class-use pages have duplicates and missing entries Reviewed-by: jjg ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/AbstractTreeWriter.java ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/ClassUseWriter.java ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/ClassWriterImpl.java ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/ClassTree.java ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/ClassUseMapper.java ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/Utils.java ! test/com/sun/javadoc/lib/JavadocTester.java ! test/com/sun/javadoc/testOrdering/TestOrdering.java ! test/com/sun/javadoc/testUseOption/TestUseOption.java + test/com/sun/javadoc/testUseOption/unique/C1.java + test/com/sun/javadoc/testUseOption/unique/UseMe.java Changeset: 452dd2988607 Author: alundblad Date: 2014-08-28 17:38 +0200 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/452dd2988607 8054500: Refactor sjavac Main class into ClientMain and ServerMain Summary: Restructured Main into ClientMain and ServerMain Reviewed-by: jfranck ! src/jdk.compiler/share/classes/com/sun/tools/sjavac/Main.java + src/jdk.compiler/share/classes/com/sun/tools/sjavac/client/ClientMain.java + src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/ServerMain.java ! src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/SjavacServer.java ! test/tools/sjavac/ExclPattern.java ! test/tools/sjavac/IgnoreSymbolFile.java ! test/tools/sjavac/OptionDecoding.java ! test/tools/sjavac/SJavac.java Changeset: 23a08a5e36d6 Author: darcy Date: 2014-08-28 11:29 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/23a08a5e36d6 8056283: @ignore tools/javac/defaultMethods/Assertions.java until JDK-8047675 is fixed Reviewed-by: ksrini ! test/tools/javac/defaultMethods/Assertions.java Changeset: 9fbec2de1d14 Author: sogoel Date: 2014-08-28 23:42 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/9fbec2de1d14 8049126: golden files for annotations test in tools/java dir Reviewed-by: jjg ! test/tools/javac/annotations/neg/AnnComma.java + test/tools/javac/annotations/neg/AnnComma.out ! test/tools/javac/annotations/neg/ArrayLit.java + test/tools/javac/annotations/neg/ArrayLit.out ! test/tools/javac/annotations/neg/Constant.java + test/tools/javac/annotations/neg/Constant.out ! test/tools/javac/annotations/neg/Cycle1.java + test/tools/javac/annotations/neg/Cycle1.out ! test/tools/javac/annotations/neg/Cycle2.java + test/tools/javac/annotations/neg/Cycle2.out ! test/tools/javac/annotations/neg/Cycle3.java + test/tools/javac/annotations/neg/Cycle3.out ! test/tools/javac/annotations/neg/Dup.java + test/tools/javac/annotations/neg/Dup.out ! test/tools/javac/annotations/neg/DupTarget.java + test/tools/javac/annotations/neg/DupTarget.out ! test/tools/javac/annotations/neg/MemberOver.java + test/tools/javac/annotations/neg/MemberOver.out Changeset: 9e6adccdd77f Author: sogoel Date: 2014-08-29 00:42 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/9e6adccdd77f 8055074: Group 9a: golden files for tests in tools/javac dir Reviewed-by: jjg ! test/tools/javac/Ambig3.java + test/tools/javac/Ambig3.out ! test/tools/javac/BadAnnotation.java + test/tools/javac/BadAnnotation.out ! test/tools/javac/BadCovar.java + test/tools/javac/BadCovar.out ! test/tools/javac/BadHexConstant.java + test/tools/javac/BadHexConstant.out ! test/tools/javac/BoundClassError.java + test/tools/javac/BoundClassError.out ! test/tools/javac/BreakAcrossClass.java + test/tools/javac/BreakAcrossClass.out ! test/tools/javac/ClassIsAbstract.java + test/tools/javac/ClassIsAbstract.out ! test/tools/javac/ClassToTypeParm.java + test/tools/javac/ClassToTypeParm.out ! test/tools/javac/CompoundBox.java + test/tools/javac/CompoundBox.out Changeset: 9e29021d0d13 Author: alundblad Date: 2014-08-29 14:58 +0200 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/9e29021d0d13 8056252: Incremental build fails on Windows Summary: Changed from '/' to File.separatorChar Reviewed-by: jfranck ! src/jdk.compiler/share/classes/com/sun/tools/sjavac/Source.java Changeset: 9da59b2ab73d Author: mchung Date: 2014-08-29 10:46 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/9da59b2ab73d 8055856: checkdeps build target doesn't work for cross-compilation builds 8056113: [build] tools.jar missing modules.xml Reviewed-by: ihse, erikj ! make/CompileInterim.gmk ! src/jdk.dev/share/classes/com/sun/tools/jdeps/ModulesXmlReader.java ! src/jdk.dev/share/classes/com/sun/tools/jdeps/PlatformClassPath.java Changeset: 37e0edfac52e Author: sogoel Date: 2014-08-29 14:08 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/37e0edfac52e 8056288: Missing bug id in test/com/sun/javadoc/testOrdering/TestOrdering.java Reviewed-by: ksrini ! test/com/sun/javadoc/testOrdering/TestOrdering.java Changeset: 73b1d870a886 Author: mcimadamore Date: 2014-09-01 17:41 +0100 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/73b1d870a886 8057005: IntelliJ should allow import for nested classes Summary: Minor tweaks to langtools intellij project Reviewed-by: jfranck ! make/intellij/codeStyleSettings.xml ! make/intellij/copyright/profiles_settings.xml ! make/intellij/workspace.xml Changeset: c565b044f8c4 Author: kizune Date: 2014-09-03 19:22 +0400 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/c565b044f8c4 8044597: Request to update tools/javap/T4501661.java to add test for package option Reviewed-by: jjg ! test/tools/javap/T4501661.java Changeset: 9a41fce5a626 Author: jjg Date: 2014-09-03 14:06 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/9a41fce5a626 8034861: Incorrect format and indentation of InnerClasses section Reviewed-by: jjg, ksrini, mcimadamore, lagergren ! src/jdk.compiler/share/classes/com/sun/tools/javap/AttributeWriter.java ! test/tools/javap/T4975569.java Changeset: b33de166fafb Author: jjg Date: 2014-09-03 14:19 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/b33de166fafb 8038414: Constant pool's strings are not escaped properly Reviewed-by: jjg, mcimadamore, ksrini ! src/jdk.compiler/share/classes/com/sun/tools/javap/ConstantWriter.java + test/tools/javap/T8038414.java Changeset: 093d86cc0f8d Author: jlahoda Date: 2014-09-04 08:48 +0200 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/093d86cc0f8d 8054563: Update RunCodingRules.java for source code reorg Summary: Tests RunCodingRules and MessageInfo fixed to work in the new source code structure. Reviewed-by: jjg ! test/tools/all/RunCodingRules.java ! test/tools/javac/diags/MessageInfo.java Changeset: d898543d13fb Author: jlahoda Date: 2014-09-04 08:49 +0200 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/d898543d13fb 8047675: tools/javac/defaultMethods/Assertions.java fails if run with -enableassertions (-ea) Summary: Using ToolBox to start new Java processes, to avoid passing default VM options to the newly started process. Reviewed-by: jjg ! test/tools/javac/defaultMethods/Assertions.java + test/tools/javac/defaultMethods/AssertionsTest.java ! test/tools/lib/ToolBox.java Changeset: 0ecc0804ec11 Author: sogoel Date: 2014-09-04 16:52 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/0ecc0804ec11 8055996: Remove @ignore from tools/javac/T6725036.java Reviewed-by: jjg ! test/tools/javac/T6725036.java Changeset: 0877f3c322c3 Author: sogoel Date: 2014-09-05 16:43 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/0877f3c322c3 8055075: Group 9b: golden files for tests in tools/javac dir Reviewed-by: jjg ! test/tools/javac/ConditionalWithVoid.java + test/tools/javac/ConditionalWithVoid.out ! test/tools/javac/DuplicateClass.java + test/tools/javac/DuplicateClass.out ! test/tools/javac/EOI.java + test/tools/javac/EOI.out ! test/tools/javac/ExceptionalFinally2.java + test/tools/javac/ExceptionalFinally2.out ! test/tools/javac/ExprQualifiedType.java + test/tools/javac/ExprQualifiedType.out ! test/tools/javac/ExtendsScope.java + test/tools/javac/ExtendsScope.out ! test/tools/javac/ExtraneousEquals.java + test/tools/javac/ExtraneousEquals.out ! test/tools/javac/FlatnameClash2.java + test/tools/javac/FlatnameClash2.out ! test/tools/javac/InconsistentInheritedSignature.java + test/tools/javac/InconsistentInheritedSignature.out Changeset: ea62dc3a866e Author: sogoel Date: 2014-09-05 16:51 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/ea62dc3a866e 8055079: Group 9c: golden files for tests in tools/javac dir Reviewed-by: jjg ! test/tools/javac/InterfaceObjectIncompatibility.java + test/tools/javac/InterfaceObjectIncompatibility.out ! test/tools/javac/InterfaceObjectInheritance.java + test/tools/javac/InterfaceObjectInheritance.out ! test/tools/javac/InterfaceOverrideFinal.java + test/tools/javac/InterfaceOverrideFinal.out ! test/tools/javac/LabeledDeclaration.java + test/tools/javac/LabeledDeclaration.out ! test/tools/javac/NestedDuplicateLabels.java + test/tools/javac/NestedDuplicateLabels.out ! test/tools/javac/NewGeneric.java + test/tools/javac/NewGeneric.out ! test/tools/javac/NoClass.java + test/tools/javac/NoClass.out ! test/tools/javac/Object1.java + test/tools/javac/Object1.out ! test/tools/javac/Object2.java + test/tools/javac/Object2.out Changeset: b545a2b1039d Author: jlahoda Date: 2014-09-08 10:48 +0200 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/b545a2b1039d 8056014: Type inference may be skipped for a complex receiver generic method in a parameter position Summary: When checking if deferred attribution is needed for a chain of methods, stop on any method that returns any type variable, as the rest of analysis cannot use the correct type. Reviewed-by: mcimadamore, vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java + test/tools/javac/lambda/T8056014.java Changeset: d7e615e0115c Author: jlahoda Date: 2014-09-08 10:50 +0200 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/d7e615e0115c 8056984: Exception in compiler: java.lang.AssertionError: isSubClass T Summary: Must use type variable's captured bound as a method receiver, instead of the type variable itself, while checking if deferred attribution is needed. Reviewed-by: mcimadamore, vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java + test/tools/javac/lambda/T8056984.java Changeset: 8df25ec8c930 Author: jfranck Date: 2014-09-08 13:11 +0200 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/8df25ec8c930 8056021: checkin for JDK-8027262 breaks Checker Framework Reviewed-by: jjg, mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Attribute.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TargetType.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotationPosition.java + src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotations.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/AttrContext.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Env.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java ! test/com/sun/javadoc/testTypeAnnotations/TestTypeAnnotations.java ! test/tools/javac/annotations/typeAnnotations/failures/CantAnnotatePackages.java ! test/tools/javac/annotations/typeAnnotations/failures/CantAnnotateScoping.java ! test/tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass2.java ! test/tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass3.java ! test/tools/javac/annotations/typeAnnotations/failures/common/arrays/DeclarationAnnotation.out ! test/tools/javac/annotations/typeAnnotations/newlocations/AllLocations.java ! test/tools/javac/annotations/typeAnnotations/newlocations/RepeatingTypeAnnotations.java ! test/tools/javac/annotations/typeAnnotations/referenceinfos/Lambda.java ! test/tools/javac/annotations/typeAnnotations/referenceinfos/NestedTypes.java ! test/tools/javac/processing/model/type/BasicAnnoTests.java ! test/tools/javac/warnings/6747671/T6747671.java ! test/tools/javac/warnings/6747671/T6747671.out ! test/tools/javac/warnings/suppress/T6480588.java ! test/tools/javac/warnings/suppress/T6480588.out ! test/tools/javac/warnings/suppress/TypeAnnotations.java ! test/tools/javap/output/RepeatingTypeAnnotations.java Changeset: b27a7aae4b23 Author: mcimadamore Date: 2014-09-08 14:16 +0100 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/b27a7aae4b23 8055514: Wrong, confusing error when non-static varargs referenced in static context Summary: Improved heuristics in MethodResolutionPhase.mergeResults() Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java + test/tools/javac/varargs/8055514/T8055514.java + test/tools/javac/varargs/8055514/T8055514.out Changeset: 63711c189d79 Author: jlahoda Date: 2014-09-08 15:51 +0200 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/63711c189d79 8057753: Test langtools/test/tools/javac/NoClass.java is failing when run together with langtools/test/tools/javac/DuplicateImport.java Summary: Removing javac/NoClass test, as it is superseded by javac/importChecks/InvalidImportsNoClasses.java Reviewed-by: jfranck - test/tools/javac/NoClass.java - test/tools/javac/NoClass.out ! test/tools/javac/importChecks/InvalidImportsNoClasses.java Changeset: 10287adbf9d6 Author: pgovereau Date: 2014-09-09 11:55 -0400 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/10287adbf9d6 8055500: fix for 8030046 is incorrect Reviewed-by: jjg, ksrini ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/FSInfo.java ! test/tools/javac/Paths/AbsolutePathTest.java Changeset: afb14d7db974 Author: pgovereau Date: 2014-09-09 12:16 -0400 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/afb14d7db974 8054210: NullPointerException when compiling specific code. Reviewed-by: vromero, jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java + test/tools/javac/flow/T8042741/LambdaArgumentsTest.java Changeset: 0d89f8b94872 Author: vromero Date: 2014-09-09 10:43 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/0d89f8b94872 8042347: javac, Gen.LVTAssignAnalyzer should be refactored, it shouldn't be a static class Reviewed-by: mcimadamore, jjg, jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Bits.java Changeset: bb9a21c5be02 Author: katleman Date: 2014-08-21 14:16 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/bb9a21c5be02 Added tag jdk9-b27 for changeset 10fc81ac75b4 ! .hgtags Changeset: 016786f79314 Author: lana Date: 2014-08-28 14:53 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/016786f79314 Merge ! .hgtags - src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/JavacServiceImpl.java - src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/CompilerPool.java - src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/CompilerThread.java - src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/JavacServer.java - src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/JavacService.java - src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/JavacServiceClient.java - test/tools/javac/lib/ToolBox.java Changeset: 407df169f50e Author: katleman Date: 2014-08-29 11:30 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/407df169f50e Added tag jdk9-b28 for changeset 016786f79314 ! .hgtags Changeset: 13705e2ddeb2 Author: lana Date: 2014-08-29 11:57 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/13705e2ddeb2 Merge Changeset: 5b2b0cde7f7b Author: katleman Date: 2014-09-04 13:26 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/5b2b0cde7f7b Added tag jdk9-b29 for changeset 13705e2ddeb2 ! .hgtags Changeset: ef5427c13e1e Author: lana Date: 2014-09-04 14:45 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/ef5427c13e1e Merge Changeset: aa09fc6a3459 Author: lana Date: 2014-09-10 19:38 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/aa09fc6a3459 Merge - test/tools/javac/NoClass.java Changeset: d75456e839b5 Author: wetmore Date: 2014-09-11 12:18 -0700 URL: http://hg.openjdk.java.net/panama/panama/langtools/rev/d75456e839b5 8058180: .hgignore should be updated with webrev in all repos Reviewed-by: jrose, katleman, jjg ! .hgignore From david.r.chase at oracle.com Thu Sep 11 21:17:17 2014 From: david.r.chase at oracle.com (david.r.chase at oracle.com) Date: Thu, 11 Sep 2014 21:17:17 +0000 Subject: hg: panama/panama/nashorn: 27 new changesets Message-ID: <201409112117.s8BLHHNo019372@aojmv0008> Changeset: 734bdd565748 Author: attila Date: 2014-08-28 16:38 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/734bdd565748 8056243: OptimisticTypePersistence should refuse to work in symlinked directories Reviewed-by: lagergren, sundar ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java Changeset: 2520d5e7bc5f Author: yan Date: 2014-09-01 17:34 +0400 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/2520d5e7bc5f 8054343: Nashorn: Some tests fails on windows with AccessControlException Reviewed-by: lagergren, sundar Contributed-by: Sergey Lugovoy ! test/script/basic/compile-octane-normal.js ! test/script/basic/compile-octane-splitter.js ! test/script/basic/compile-octane.js Changeset: 20d8ab569eb6 Author: attila Date: 2014-09-03 14:33 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/20d8ab569eb6 8056913: Limit the size of type info cache on disk Reviewed-by: jlaskey, lagergren ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/Type.java Changeset: 0b7b3bd3cc04 Author: lagergren Date: 2014-09-04 10:52 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/0b7b3bd3cc04 8057019: Various problems with extra arguments to applies Reviewed-by: attila, hannesw, jlaskey - bin/dump_octane_code.sh - bin/fixorphantests.sh - bin/fixwhitespace.sh - bin/jjsdebug.sh - bin/rm-non-tracked.sh - bin/run_octane.sh - bin/rundiff.sh - bin/runopt.sh - bin/runopt_noassert.sh - bin/runopt_nojfr.sh ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunction.java + test/script/basic/JDK-8057019-2.js + test/script/basic/JDK-8057019-2.js.EXPECTED + test/script/basic/JDK-8057019-payload.js + test/script/basic/JDK-8057019.js + test/script/basic/JDK-8057019.js.EXPECTED ! test/script/basic/apply_to_call/apply_to_call4.js.EXPECTED Changeset: ef3c1957d29b Author: lagergren Date: 2014-09-04 14:42 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/ef3c1957d29b 8057551: Let the -d flag dump _all_ generated classes to disk and work outside --compile-only mode Reviewed-by: attila, jlaskey ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/DumpBytecode.java Changeset: 2f0161551858 Author: hannesw Date: 2014-09-04 15:37 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/2f0161551858 8051889: Implement block scoping in symbol assignment and scope computation Reviewed-by: attila, lagergren ! make/build.xml ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AssignSymbols.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Compiler.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FieldObjectCreator.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MapCreator.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MethodEmitter.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/TypeEvaluator.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionNode.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/IdentNode.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Symbol.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/VarNode.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AccessorProperty.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FindProperty.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Property.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptEnvironment.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptRuntime.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/SetMethodCreator.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Options.properties ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java + test/script/basic/es6/block-function-decl.js + test/script/basic/es6/block-function-decl.js.EXPECTED + test/script/basic/es6/const-empty.js + test/script/basic/es6/const-empty.js.EXPECTED + test/script/basic/es6/const-reassign.js + test/script/basic/es6/const-reassign.js.EXPECTED + test/script/basic/es6/const-redeclare.js + test/script/basic/es6/const-redeclare.js.EXPECTED + test/script/basic/es6/const-self.js + test/script/basic/es6/const-self.js.EXPECTED + test/script/basic/es6/const-tdz.js + test/script/basic/es6/const-tdz.js.EXPECTED + test/script/basic/es6/const.js + test/script/basic/es6/const.js.EXPECTED + test/script/basic/es6/for-let.js + test/script/basic/es6/for-let.js.EXPECTED + test/script/basic/es6/let-eval.js + test/script/basic/es6/let-eval.js.EXPECTED + test/script/basic/es6/let-load-lib.js + test/script/basic/es6/let-load.js + test/script/basic/es6/let-load.js.EXPECTED + test/script/basic/es6/let-nodeclare.js + test/script/basic/es6/let-nodeclare.js.EXPECTED + test/script/basic/es6/let-redeclare.js + test/script/basic/es6/let-redeclare.js.EXPECTED + test/script/basic/es6/let-self.js + test/script/basic/es6/let-self.js.EXPECTED + test/script/basic/es6/let-tdz.js + test/script/basic/es6/let-tdz.js.EXPECTED + test/script/basic/es6/let.js + test/script/basic/es6/let.js.EXPECTED ! test/script/trusted/JDK-8006529.js ! test/src/jdk/nashorn/internal/codegen/CompilerTest.java ! test/src/jdk/nashorn/internal/parser/ParserTest.java Changeset: 37152862918f Author: attila Date: 2014-09-04 18:57 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/37152862918f 8056129: AtomicInteger is treated as primitive number with optimistic compilation Reviewed-by: jlaskey, lagergren ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSType.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/OptimisticReturnFilters.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayData.java + test/script/basic/JDK-8056129.js + test/script/basic/JDK-8056129.js.EXPECTED Changeset: f04f14587586 Author: lagergren Date: 2014-09-05 16:28 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/f04f14587586 8057611: Nashorn did not dump the JOx classes to disk when running with the -d flag Reviewed-by: attila, sundar, hannesw ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ObjectClassGenerator.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CompiledFunction.java Changeset: 4258ccc2eb8a Author: lagergren Date: 2014-09-05 16:28 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/4258ccc2eb8a 8057588: Lots of trivial (empty) classes were generated by the Nashorn compiler as part of restOf-method generation Reviewed-by: attila, sundar, hannesw ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilationPhase.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompileUnit.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Compiler.java + src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/CompileUnitHolder.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionNode.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LiteralNode.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SplitNode.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CompiledFunction.java Changeset: 459874975ef6 Author: sundar Date: 2014-09-08 15:51 +0530 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/459874975ef6 8057742: ant clean test should not fail if one or more external test suites are missing Reviewed-by: lagergren, hannesw - test/script/basic/JDK-8048079_1.js - test/script/basic/JDK-8048079_1.js.EXPECTED + test/script/basic/JDK-8048079_1a.js + test/script/basic/JDK-8048079_1a.js.EXPECTED + test/script/basic/JDK-8048079_1b.js + test/script/basic/JDK-8048079_1b.js.EXPECTED - test/script/basic/JDK-8048079_2.js - test/script/basic/JDK-8048079_2.js.EXPECTED + test/script/basic/JDK-8048079_2a.js + test/script/basic/JDK-8048079_2a.js.EXPECTED + test/script/basic/JDK-8048079_2b.js + test/script/basic/JDK-8048079_2b.js.EXPECTED ! test/script/basic/splitter.js ! test/script/basic/splitter.js.EXPECTED + test/script/basic/splitter_prototype.js + test/script/basic/splitter_prototype.js.EXPECTED + test/script/basic/splitter_yui.js + test/script/basic/splitter_yui.js.EXPECTED ! test/src/jdk/nashorn/internal/test/framework/TestFinder.java Changeset: 884a8ffb6038 Author: yan Date: 2014-09-08 15:37 +0400 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/884a8ffb6038 8057678: Tests for let and const keywords in Nashorn Reviewed-by: hannesw, lagergren Contributed-by: Sergey Lugovoy + test/script/basic/es6/const-redeclare-extra.js + test/script/basic/es6/const-redeclare-extra.js.EXPECTED + test/script/basic/es6/let-redeclare-extra.js + test/script/basic/es6/let-redeclare-extra.js.EXPECTED + test/script/basic/es6/let_const_closure.js + test/script/basic/es6/let_const_closure.js.EXPECTED + test/script/basic/es6/let_const_reuse.js + test/script/basic/es6/let_const_reuse.js.EXPECTED + test/script/basic/es6/let_different_types.js + test/script/basic/es6/let_different_types.js.EXPECTED + test/script/basic/es6/let_loops.js + test/script/basic/es6/let_loops.js.EXPECTED Changeset: fc80190e129f Author: attila Date: 2014-09-08 18:40 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/fc80190e129f 8057148: Skip nested functions on reparse Reviewed-by: hannesw, lagergren ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AssignSymbols.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Block.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionNode.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContext.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/TokenStream.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunctionData.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Timing.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java ! test/script/basic/optimistic_check_type.js Changeset: c17045fd979c Author: attila Date: 2014-09-09 15:33 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/c17045fd979c 8057930: remove eval ID Reviewed-by: hannesw, sundar ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CodeInstaller.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java ! test/script/basic/JDK-8030182_2.js ! test/script/basic/JDK-8030182_2.js.EXPECTED ! test/script/basic/es6/const-empty.js.EXPECTED ! test/script/basic/es6/const-redeclare-extra.js.EXPECTED ! test/script/basic/es6/const-redeclare.js.EXPECTED ! test/script/basic/es6/let-redeclare-extra.js.EXPECTED ! test/script/basic/es6/let-redeclare.js.EXPECTED ! test/script/basic/es6/let_const_reuse.js.EXPECTED Changeset: dcc08ab6777a Author: attila Date: 2014-09-09 15:34 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/dcc08ab6777a 8057931: Instead of not skipping small functions in parser, make lexer avoid them instead Reviewed-by: hannesw, sundar ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/AbstractParser.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Lexer.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java Changeset: 578f8ca1336a Author: lagergren Date: 2014-09-10 12:37 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/578f8ca1336a 8057703: More empty classes generated by Nashorn Reviewed-by: attila, sundar ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ClassEmitter.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGeneratorLexicalContext.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilationPhase.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompileUnit.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Compiler.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Timing.java Changeset: 2c5ba6bd48a7 Author: attila Date: 2014-09-10 13:08 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/2c5ba6bd48a7 8034954: Optimistic iteration in for-in and for-each Reviewed-by: hannesw, lagergren ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Compiler.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/TypeEvaluator.java Changeset: 8a4af0397070 Author: hannesw Date: 2014-09-10 15:19 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/8a4af0397070 8057021: UserAccessorProperty guards fail with multiple globals Reviewed-by: attila, lagergren ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeBoolean.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJSAdapter.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeNumber.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeString.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FindProperty.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/SetMethodCreator.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/UserAccessorProperty.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/PrimitiveLookup.java ! test/src/jdk/nashorn/api/scripting/ScopeTest.java Changeset: fa7ee1ec0448 Author: katleman Date: 2014-08-21 14:16 -0700 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/fa7ee1ec0448 Added tag jdk9-b27 for changeset 221a84ef44c0 ! .hgtags Changeset: 00c31e5eaf26 Author: lana Date: 2014-08-28 14:53 -0700 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/00c31e5eaf26 Merge ! .hgtags - src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CompiledFunctions.java - src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CompiledScript.java Changeset: adc2b63e654a Author: katleman Date: 2014-08-29 11:30 -0700 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/adc2b63e654a Added tag jdk9-b28 for changeset 00c31e5eaf26 ! .hgtags Changeset: e541ebaf2ab7 Author: lana Date: 2014-08-29 11:58 -0700 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/e541ebaf2ab7 Merge Changeset: 0cf05971521d Author: katleman Date: 2014-09-04 13:26 -0700 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/0cf05971521d Added tag jdk9-b29 for changeset e541ebaf2ab7 ! .hgtags Changeset: 072dbed6c5d9 Author: lana Date: 2014-09-04 14:45 -0700 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/072dbed6c5d9 Merge Changeset: ba55f0a6473f Author: lana Date: 2014-09-10 19:37 -0700 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/ba55f0a6473f Merge - test/script/basic/JDK-8048079_1.js - test/script/basic/JDK-8048079_1.js.EXPECTED - test/script/basic/JDK-8048079_2.js - test/script/basic/JDK-8048079_2.js.EXPECTED Changeset: 1f2fa7bd6d95 Author: attila Date: 2014-09-11 17:12 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/1f2fa7bd6d95 8058100: Reduce the RecompilableScriptFunctionData footprint Reviewed-by: jlaskey, lagergren ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Compiler.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FindScopeDepths.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ObjectClassGenerator.java + src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AllocationStrategy.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java Changeset: 5a238407c8f1 Author: hannesw Date: 2014-09-11 17:23 +0200 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/5a238407c8f1 8058179: Global constants get in the way of self-modifying properties Reviewed-by: attila, jlaskey, sundar, lagergren ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/GlobalConstants.java ! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java + test/script/basic/JDK-8058179.js + test/script/basic/JDK-8058179.js.EXPECTED Changeset: 8ad3a44f2927 Author: wetmore Date: 2014-09-11 12:18 -0700 URL: http://hg.openjdk.java.net/panama/panama/nashorn/rev/8ad3a44f2927 8058180: .hgignore should be updated with webrev in all repos Reviewed-by: jrose, katleman, jjg ! .hgignore From david.r.chase at oracle.com Thu Sep 11 21:21:54 2014 From: david.r.chase at oracle.com (David Chase) Date: Thu, 11 Sep 2014 17:21:54 -0400 Subject: warming up the isthmus In-Reply-To: <9D3E30FE-DE95-41B7-8A9D-B477CE898DC7@oracle.com> References: <77F230FE-3272-4F79-AFAE-16633103F1A7@oracle.com> <9D3E30FE-DE95-41B7-8A9D-B477CE898DC7@oracle.com> Message-ID: I assume someone will let me know if I screwed anything up :-). This my first attempt at doing this sort of (large, forest) commit. David From david.simms at oracle.com Fri Sep 12 10:17:25 2014 From: david.simms at oracle.com (david.simms at oracle.com) Date: Fri, 12 Sep 2014 10:17:25 +0000 Subject: hg: panama/panama: Used autogen to update generated config Message-ID: <201409121017.s8CAHPBn025410@aojmv0008> Changeset: 3f18e8fe4248 Author: dsimms Date: 2014-09-12 12:18 +0200 URL: http://hg.openjdk.java.net/panama/panama/rev/3f18e8fe4248 Used autogen to update generated config ! common/autoconf/generated-configure.sh From magnus.ihse.bursie at oracle.com Mon Sep 15 11:49:05 2014 From: magnus.ihse.bursie at oracle.com (Magnus Ihse Bursie) Date: Mon, 15 Sep 2014 13:49:05 +0200 Subject: module structure for ISA-specific sources and classes Message-ID: <5416D231.5030808@oracle.com> > The JNI code for JFFI, which is shared, can go here as expected: > src/java.base/share/native/jdk/internal/ffi/... Please note that there is a new structure to the "native" directories. If the native code is supposed to compile into a libffi.so, the directory should be named src/java.base/share/native/libffi, so that there is a 1-to-1 match between directory name and the name of the native library. The exception is code which is shared between several libraries, which is stored, a bit more ad-hoc, in a suitable subdirectory the .../native/common directory. If you are combining an upstream open source library with some additional "wrapping" code, I would suggest creating a library with a name distinct from the upstream library, e.g. libjavaffi, and storing the upstream source in a separate subdirectory, eg. libjavaffi/libffi. This will help the open source community to use a system-installed version of the library instead of bundling it. But then again, I might have misunderstood completely what you're trying to achieve. :-) /Magnus From henry.jen at oracle.com Thu Sep 25 05:48:48 2014 From: henry.jen at oracle.com (Henry Jen) Date: Wed, 24 Sep 2014 22:48:48 -0700 Subject: Proof of concept: Groveller tool(aka jextract) Message-ID: <5423ACC0.9020906@oracle.com> Hi, Attached please find a proof of concept of the jextract tool, implemented on top of jnr-clang(with local modification to add couple more function binding to libclang). With FindSymbol, one can give a header file and specified symbols to be extracted into a interface, and the tool will generate jnr code to describe the interface and all struct involved, it's not perfect but demonstrate what can be done. Test.java is the code manualy written to load the native library, in it is some code to show we can call to some native functions, in this POC, __xstat, gettimeofday and puts. The work flow to get Test.java working is like this, 1. Create a headers.h to include needed header files, in this example following three are needed for above functions, #include #include #include 2. `java -cp $CP -Xint FindSymbol headers.h __xstat gettimeofday puts` This will generate a couple java files, MiniLibC.java is the interface and other java files describe struct used in those functions, in this case, Stat.java, Timespec.java, Timeval.java and Timezone.java. $CP will have jnr-clang and all its dependencies. 3. Build generated code and Test.java with javac, will need jnr-ffi in classpath. 4. Run the Test with java -cp $CP Test . $CP will have jnr-ffi and its dependencies. The POC is tested on Linux with libclang installed. Like I said, this is a proof of concept, but I would expect simple C functions can be quickly generated in the same manner and called properly. Certainly there are many places can be improved, this is just a start. Now questions is when will we be able to see jnr code get into panama repo? Assuming that's required for this POC to continue evolving within panama repo. Cheers, Henry From henry.jen at oracle.com Thu Sep 25 06:19:26 2014 From: henry.jen at oracle.com (Henry Jen) Date: Wed, 24 Sep 2014 23:19:26 -0700 Subject: Proof of concept: Groveller tool(aka jextract) In-Reply-To: <5423ACC0.9020906@oracle.com> References: <5423ACC0.9020906@oracle.com> Message-ID: <5423B3EE.8090202@oracle.com> The list doesn't allow attachment, please find them at http://cr.openjdk.java.net/~henryjen/panama/jextract/ Feedbacks/recommendations are welcome. Cheers, Henry On 09/24/2014 10:48 PM, Henry Jen wrote: > Hi, > > Attached please find a proof of concept of the jextract tool, > implemented on top of jnr-clang(with local modification to add couple > more function binding to libclang). > > With FindSymbol, one can give a header file and specified symbols to be > extracted into a interface, and the tool will generate jnr code to > describe the interface and all struct involved, it's not perfect but > demonstrate what can be done. > > Test.java is the code manualy written to load the native library, in it > is some code to show we can call to some native functions, in this POC, > __xstat, gettimeofday and puts. > > The work flow to get Test.java working is like this, > > 1. Create a headers.h to include needed header files, in this example > following three are needed for above functions, > > #include > #include > #include > > 2. `java -cp $CP -Xint FindSymbol headers.h __xstat gettimeofday puts` > > This will generate a couple java files, MiniLibC.java is the interface > and other java files describe struct used in those functions, in this > case, Stat.java, Timespec.java, Timeval.java and Timezone.java. > > $CP will have jnr-clang and all its dependencies. > > 3. Build generated code and Test.java with javac, will need jnr-ffi in > classpath. > > 4. Run the Test with java -cp $CP Test . $CP will have > jnr-ffi and its dependencies. > > The POC is tested on Linux with libclang installed. > > Like I said, this is a proof of concept, but I would expect simple C > functions can be quickly generated in the same manner and called > properly. Certainly there are many places can be improved, this is just > a start. > > Now questions is when will we be able to see jnr code get into panama > repo? Assuming that's required for this POC to continue evolving within > panama repo. > > Cheers, > Henry