From mahmood at notnoop.com Mon Jan 4 13:58:08 2010 From: mahmood at notnoop.com (Mahmood Ali) Date: Mon, 4 Jan 2010 16:58:08 -0500 Subject: library path for libjvm.dylib and OpenJDK Message-ID: <453416531001041358i1fab9335gf5ab14550b01d1d3@mail.gmail.com> Greetings, First, thank you very much for your efforts on porting the OpenJDK to Mac OS X. First, I have successfully compiled the bsd-port on my machine. However, I'm having some difficulty running the JVM, when I run the compiler, I get the following error: $ build/bsd-amd64/j2sdk-image/bin/java -version Error occurred during initialization of VM Unable to load native library: dlopen(/Users/mahmood/tmp/openjdk-7/bsd-port/build/bsd-amd64/j2sdk-image/jre/lib/amd64/libjava.dylib, 1): Library not loaded: libjvm.dylib Referenced from: /Users/mahmood/tmp/openjdk-7/bsd-port/build/bsd-amd64/j2sdk-image/jre/lib/amd64/libjava.dylib Reason: image not found Setting DYLD_LIBRARY_PATH environment variable seem to fix the problem: $ DYLD_LIBRARY_PATH=build/bsd-amd64/j2sdk-image/jre/lib/amd64/server build/bsd-amd64/j2sdk-image/bin/java -version openjdk version "1.7.0-internal" OpenJDK Runtime Environment (build 1.7.0-internal-mahmood_2010_01_04_15_39-b00) OpenJDK 64-Bit Server VM (build 17.0-b05, mixed mode) Last time I compiled the OpenJDK (around mid december), I didn't need to initialize that variable. I noticed that on Nov 20, there was a change that removed LD_LIBRARY_PATH from the jdk launcher project: changeset: 2048:de45eac5670e user: ksrini date: Fri Nov 20 11:01:32 2009 -0800 files: make/java/jli/Makefile make/java/main/java/Makefile make/java/redist/Makefile src/share/bin/java.c src/solaris/bin/java_md.c test/tools/launcher/Arrrghs.java test/tools/launcher/ExecutionEnvironment.java test/tools/launcher/SolarisDataModel.sh test/tools/launcher/SolarisRunpath.sh test/tools/launcher/TestHelper.java test/tools/launcher/libraryCaller.c test/tools/launcher/libraryCaller.h test/tools/launcher/libraryCaller.java description: 6367077: Purge LD_LIBRARY_PATH usage from the launcher 6899834: (launcher) remove the solaris libjvm.so symlink Summary: Fixes other related issues as well. Reviewed-by: darcy, ohair, xlu, martin However, I cannot detect when such change was pushed to the bsd-port. Can you please advice how I should go forward preferably, without setting DYLD_LIBRARY_PATH env variable? Also a couple of points: 1. Finding the instructions was a bit tedious, if using Google. Googling the information returned outdated instructions that required JIXB. Luckily, I came across the wiki, and saw the linkage to java rant instructions (http://www.javarants.com/2009/11/01/building-openjdk-1-7-0-for-mac-os-x-10-6-snow-leopard/). 2. Can you please elaborate on why "There may be no way to get pre-built binaries for installation of OpenJDK on Mac OS X."? How would that be different from the binaries hosted by Soylatte? I'm planning to host my binaries online if possible. Thank you very much again. Regards, Mahmood From Xiaobin.Lu at Sun.COM Mon Jan 4 14:07:14 2010 From: Xiaobin.Lu at Sun.COM (Xiaobin Lu) Date: Mon, 04 Jan 2010 14:07:14 -0800 Subject: library path for libjvm.dylib and OpenJDK In-Reply-To: <453416531001041358i1fab9335gf5ab14550b01d1d3@mail.gmail.com> References: <453416531001041358i1fab9335gf5ab14550b01d1d3@mail.gmail.com> Message-ID: <4B426692.5000006@Sun.COM> Does the jdk repository contain the changeset of the LD_LIBRARY_PATH change? If not, you might need to pull that changeset to your repository and recompile the jdk. I am ccing Kumar and he might be able to help. -Xiaobin Mahmood Ali wrote: > Greetings, > > First, thank you very much for your efforts on porting the OpenJDK to Mac OS X. > > First, I have successfully compiled the bsd-port on my machine. > However, I'm having some difficulty running the JVM, when I run the > compiler, I get the following error: > > $ build/bsd-amd64/j2sdk-image/bin/java -version > Error occurred during initialization of VM > Unable to load native library: > dlopen(/Users/mahmood/tmp/openjdk-7/bsd-port/build/bsd-amd64/j2sdk-image/jre/lib/amd64/libjava.dylib, > 1): Library not loaded: libjvm.dylib > Referenced from: > /Users/mahmood/tmp/openjdk-7/bsd-port/build/bsd-amd64/j2sdk-image/jre/lib/amd64/libjava.dylib > Reason: image not found > > Setting DYLD_LIBRARY_PATH environment variable seem to fix the problem: > > $ DYLD_LIBRARY_PATH=build/bsd-amd64/j2sdk-image/jre/lib/amd64/server > build/bsd-amd64/j2sdk-image/bin/java -version > openjdk version "1.7.0-internal" > OpenJDK Runtime Environment (build 1.7.0-internal-mahmood_2010_01_04_15_39-b00) > OpenJDK 64-Bit Server VM (build 17.0-b05, mixed mode) > > Last time I compiled the OpenJDK (around mid december), I didn't need > to initialize that variable. I noticed that on Nov 20, there was a > change that removed LD_LIBRARY_PATH from the jdk launcher project: > > changeset: 2048:de45eac5670e > user: ksrini > date: Fri Nov 20 11:01:32 2009 -0800 > files: make/java/jli/Makefile make/java/main/java/Makefile > make/java/redist/Makefile src/share/bin/java.c > src/solaris/bin/java_md.c test/tools/launcher/Arrrghs.java > test/tools/launcher/ExecutionEnvironment.java > test/tools/launcher/SolarisDataModel.sh > test/tools/launcher/SolarisRunpath.sh > test/tools/launcher/TestHelper.java > test/tools/launcher/libraryCaller.c > test/tools/launcher/libraryCaller.h > test/tools/launcher/libraryCaller.java > description: > 6367077: Purge LD_LIBRARY_PATH usage from the launcher > 6899834: (launcher) remove the solaris libjvm.so symlink > Summary: Fixes other related issues as well. > Reviewed-by: darcy, ohair, xlu, martin > > However, I cannot detect when such change was pushed to the bsd-port. > Can you please advice how I should go forward preferably, without > setting DYLD_LIBRARY_PATH env variable? > > Also a couple of points: > > 1. Finding the instructions was a bit tedious, if using Google. > Googling the information returned outdated instructions that required > JIXB. Luckily, I came across the wiki, and saw the linkage to java > rant instructions > (http://www.javarants.com/2009/11/01/building-openjdk-1-7-0-for-mac-os-x-10-6-snow-leopard/). > > 2. Can you please elaborate on why "There may be no way to get > pre-built binaries for installation of OpenJDK on Mac OS X."? How > would that be different from the binaries hosted by Soylatte? I'm > planning to host my binaries online if possible. > > Thank you very much again. > > Regards, > Mahmood > > From mahmood at notnoop.com Mon Jan 4 14:20:38 2010 From: mahmood at notnoop.com (Mahmood Ali) Date: Mon, 4 Jan 2010 17:20:38 -0500 Subject: library path for libjvm.dylib and OpenJDK In-Reply-To: <4B426692.5000006@Sun.COM> References: <453416531001041358i1fab9335gf5ab14550b01d1d3@mail.gmail.com> <4B426692.5000006@Sun.COM> Message-ID: <453416531001041420k776138bfn8ffdd61a132e948e@mail.gmail.com> Greetings, Sorry for not being clear. On Mon, Jan 4, 2010 at 5:07 PM, Xiaobin Lu wrote: > Does the jdk repository contain the changeset of the LD_LIBRARY_PATH change? Yes, both the root jdk7/jdk and bsd-port/jdk repositories include the specified changeset de45eac5670e. I'll try to merge with the OpenJDK main repository and recompile. Regards, Mahmood From mahtavata at gmail.com Wed Jan 13 01:16:35 2010 From: mahtavata at gmail.com (Juha Korhonen) Date: Wed, 13 Jan 2010 11:16:35 +0200 Subject: Missing libraries Message-ID: <304e074a1001130116t28722c64v8ed03e534b9dd44f@mail.gmail.com> Hi, I managed to compile and install OpenJDK7 to my OSX but the DYLD_LIBRARY_PATH env variable is causing me problems. If I add the env variable in console the new install works, but when I use other applications like Eclipse, it does not work. There must be a way to pass environment variables to graphical applications and so on, but is this the way the java should work? What changes are needed in OpenJDK to make it work without any modifications to the system? - JK -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100113/4f565315/attachment.html From ray at ganymede.org Wed Jan 13 08:49:00 2010 From: ray at ganymede.org (Ray Kiddy) Date: Wed, 13 Jan 2010 08:49:00 -0800 Subject: Missing libraries In-Reply-To: <304e074a1001130116t28722c64v8ed03e534b9dd44f@mail.gmail.com> References: <304e074a1001130116t28722c64v8ed03e534b9dd44f@mail.gmail.com> Message-ID: <59543F8A-344D-4B16-A14B-F704B7A3E23F@ganymede.org> On Jan 13, 2010, at 1:16 AM, Juha Korhonen wrote: > Hi, I managed to compile and install OpenJDK7 to my OSX but the > DYLD_LIBRARY_PATH env variable is causing me problems. If I add the > env variable in console the new install works, but when I use other > applications like Eclipse, it does not work. There must be a way to > pass environment variables to graphical applications and so on, but > is this the way the java should work? What changes are needed in > OpenJDK to make it work without any modifications to the system? > > - JK > If you were on this list, look back to the 17th of December. There was a post from Mike Swingler, one of the engineers working on the java runtime at Apple. He posted about setting up the streuctures inside the "JavaVM.framework" directories that provide application support from java to Cocoa applications. My understanding is that this is still a work in progress. I see a post from him about possible problems from the DYLD_LIBRARY_PATH, though I do not know if this is the same problem. If you cannot find the e-mails, let me know off-list and I can send them to you. We need to have more information about using this port on Mac OS X and so I would encourage you to check the wiki also. (http://wikis.sun.com/display/OpenJDK/BSDPort ) And if you learn anything about how to make things work, there is probably somewhere that information could be added to the wiki. cheers - ray From swingler at apple.com Wed Jan 13 09:22:40 2010 From: swingler at apple.com (Mike Swingler) Date: Wed, 13 Jan 2010 09:22:40 -0800 Subject: Missing libraries In-Reply-To: <59543F8A-344D-4B16-A14B-F704B7A3E23F@ganymede.org> References: <304e074a1001130116t28722c64v8ed03e534b9dd44f@mail.gmail.com> <59543F8A-344D-4B16-A14B-F704B7A3E23F@ganymede.org> Message-ID: <3B941C1C-A589-4E08-9566-DAC04A5E091D@apple.com> On Jan 13, 2010, at 8:49 AM, Ray Kiddy wrote: > On Jan 13, 2010, at 1:16 AM, Juha Korhonen wrote: > >> Hi, I managed to compile and install OpenJDK7 to my OSX but the >> DYLD_LIBRARY_PATH env variable is causing me problems. If I add the >> env variable in console the new install works, but when I use other >> applications like Eclipse, it does not work. There must be a way to >> pass environment variables to graphical applications and so on, but >> is this the way the java should work? What changes are needed in >> OpenJDK to make it work without any modifications to the system? OpenJDK right now uses DYLD_LIBRARY_PATH as a way to tell the Mac OS X dynamic linker (dyld) where to find it's libraries by first name only, and not by the full "install_path" in their Mach-o headers. To avoid using DYLD_LIBRARY_PATH, the libraries need to be linked with an install_path that starts with @rpath, and the primary entry points into the libraries need to add LC_RPATH directives that push @loader_path relative locations onto the @rpath search stack. Once this has been accomplished, the built JDK will be able to launch and find it's own linked libraries without having to rely on the DYLD_LIBRARY_PATH environment variable. > If you were on this list, look back to the 17th of December. There was > a post from Mike Swingler, one of the engineers working on the java > runtime at Apple. He posted about setting up the streuctures inside > the "JavaVM.framework" directories that provide application support > from java to Cocoa applications. My understanding is that this is > still a work in progress. > > I see a post from him about possible problems from the > DYLD_LIBRARY_PATH, though I do not know if this is the same problem. > > If you cannot find the e-mails, let me know off-list and I can send > them to you. > > We need to have more information about using this port on Mac OS X and > so I would encourage you to check the wiki also. (http://wikis.sun.com/display/OpenJDK/BSDPort > ) And if you learn anything about how to make things work, there is > probably somewhere that information could be added to the wiki. Separately, the Java implementation provided by Apple in Mac OS X has always assumed it would be installed in /System/Library/Frameworks/JavaVM.framework/Versions/..., and so it's libraries always contained a full absolute path in their "install_path" entries. Since we would like to have the flexibility to treat the JDK as a more modular component, we have internally been unwinding many of these absolute paths, and adopting @rpath as well. Ideally, bundled versions of the OpenJDK can be dropped into your ~/Library/Java/JavaVirtualMachines directory, so they can be discovered by the JavaVM.framework and vended for various tasks like running command line applications, powering bundled applications, applets, Web Start, and used for any app that links against the JavaVM.framework and calls JNI_CreateJavaVM(). As of right now, the current OpenJDK state is sufficient for command-line tasks or possibly launching Eclipse, however more thought needs to be put into how to discriminate between JVMs that contain Cocoa UI support, X11 UI support, or neither (still appropriate for SWT), and how client applications can express those dependancies. Regards, Mike Swingler Java Runtime Engineer Apple Inc. From Dalibor.Topic at Sun.COM Wed Jan 13 09:41:46 2010 From: Dalibor.Topic at Sun.COM (Dalibor Topic) Date: Wed, 13 Jan 2010 18:41:46 +0100 Subject: Missing libraries In-Reply-To: <59543F8A-344D-4B16-A14B-F704B7A3E23F@ganymede.org> References: <304e074a1001130116t28722c64v8ed03e534b9dd44f@mail.gmail.com> <59543F8A-344D-4B16-A14B-F704B7A3E23F@ganymede.org> Message-ID: <4B4E05DA.9000509@sun.com> Ray Kiddy wrote: > If you cannot find the e-mails, let me know off-list and I can send > them to you. > You can also fetch them from the list archive available at : http://mail.openjdk.java.net/pipermail/bsd-port-dev/ cheers, dalibor topic -- ******************************************************************* Dalibor Topic Tel: (+49 40) 23 646 738 Java F/OSS Ambassador AIM: robiladonaim Sun Microsystems GmbH Mobile: (+49 177) 2664 192 Nagelsweg 55 http://openjdk.java.net D-20097 Hamburg mailto:Dalibor.Topic at sun.com Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht M?nchen: HRB 161028 Gesch?ftsf?hrer: Thomas Schr?der, Wolfgang Engels, Wolf Frenkel Vorsitzender des Aufsichtsrates: Martin H?ring From glewis at eyesbeyond.com Sat Jan 16 21:14:38 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 17 Jan 2010 05:14:38 +0000 Subject: hg: bsd-port/bsd-port: 2 new changesets Message-ID: <20100117051439.172C441983@hg.openjdk.java.net> Changeset: b1952d19290d Author: katleman Date: 2010-01-14 15:48 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/b1952d19290d Added tag jdk7-b79 for changeset 20aeeb517139 ! .hgtags Changeset: fe9c04a530f4 Author: Greg Lewis Date: 2010-01-16 12:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/fe9c04a530f4 Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Jan 16 21:14:45 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 17 Jan 2010 05:14:45 +0000 Subject: hg: bsd-port/bsd-port/corba: 2 new changesets Message-ID: <20100117051448.4145C41984@hg.openjdk.java.net> Changeset: fdbc85b2d15c Author: katleman Date: 2010-01-14 15:48 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/fdbc85b2d15c Added tag jdk7-b79 for changeset ec0421b5703b ! .hgtags Changeset: fad47829eadc Author: Greg Lewis Date: 2010-01-16 12:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/fad47829eadc Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Jan 16 21:15:05 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 17 Jan 2010 05:15:05 +0000 Subject: hg: bsd-port/bsd-port/hotspot: 76 new changesets Message-ID: <20100117051859.5FA2941986@hg.openjdk.java.net> Changeset: f334aec453a1 Author: kvn Date: 2009-10-29 16:57 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/f334aec453a1 6896084: VM does not reserve protected page below heap for compressed oops implicit null checks Summary: Set narrow_oop_base and narrow_oop_use_implicit_null_checks in Universe::preferred_heap_base(). Reviewed-by: twisti, jcoomes ! src/share/vm/memory/universe.cpp Changeset: 73a726751507 Author: cfang Date: 2009-10-30 10:12 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/73a726751507 6852078: HSX 14/16 in jdk 5.0: api/javax_management api/org_omg jck tests crashes or make tnameserv crash Summary: Disable SuperWord optimization for unsafe read/write Reviewed-by: kvn, phh ! src/share/vm/opto/superword.cpp + test/compiler/6852078/Test6852078.java Changeset: 389049f3f393 Author: jrose Date: 2009-10-30 16:22 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/389049f3f393 6858164: invokedynamic code needs some cleanup (post-6655638) Summary: Fix several crashers, remove needless paths for boxed-style bootstrap method call, refactor & simplify APIs for rewriter constantPoolOop, remove sun.dyn.CallSiteImpl Reviewed-by: kvn ! src/cpu/sparc/vm/templateInterpreter_sparc.cpp ! src/cpu/x86/vm/templateInterpreter_x86_32.cpp ! src/cpu/x86/vm/templateInterpreter_x86_64.cpp ! src/cpu/x86/vm/templateTable_x86_32.cpp ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/javaClasses.hpp ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/classfile/systemDictionary.hpp ! src/share/vm/classfile/verifier.cpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/includeDB_core ! src/share/vm/interpreter/bytecodeTracer.cpp ! src/share/vm/interpreter/interpreter.cpp ! src/share/vm/interpreter/interpreterRuntime.cpp ! src/share/vm/interpreter/interpreterRuntime.hpp ! src/share/vm/interpreter/linkResolver.cpp ! src/share/vm/interpreter/rewriter.cpp ! src/share/vm/interpreter/rewriter.hpp ! src/share/vm/interpreter/templateInterpreter.cpp ! src/share/vm/interpreter/templateInterpreter.hpp ! src/share/vm/interpreter/templateInterpreterGenerator.hpp ! src/share/vm/oops/constantPoolOop.cpp ! src/share/vm/oops/constantPoolOop.hpp ! src/share/vm/oops/cpCacheOop.cpp ! src/share/vm/oops/cpCacheOop.hpp ! src/share/vm/oops/generateOopMap.cpp ! src/share/vm/oops/instanceKlassKlass.cpp ! src/share/vm/prims/jvm.cpp ! src/share/vm/prims/methodHandles.cpp Changeset: 323bd24c6520 Author: roland Date: 2009-11-02 11:17 +0100 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/323bd24c6520 6769124: various 64-bit fixes for c1 Reviewed-by: never ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp ! src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp ! src/cpu/x86/vm/c1_LIRGenerator_x86.cpp ! src/cpu/x86/vm/vm_version_x86.cpp ! src/share/vm/c1/c1_GraphBuilder.cpp ! src/share/vm/c1/c1_LIRGenerator.cpp ! src/share/vm/c1/c1_LinearScan.cpp ! src/share/vm/runtime/arguments.cpp + test/compiler/6769124/TestArrayCopy6769124.java + test/compiler/6769124/TestDeoptInt6769124.java + test/compiler/6769124/TestUnalignedLoad6769124.java Changeset: 09572fede9d1 Author: kvn Date: 2009-11-04 14:16 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/09572fede9d1 6896370: CTW fails share/vm/opto/matcher.cpp:1475 "duplicating node that's already been matched" Summary: Move DecodeN code outside the memory nodes only code. Reviewed-by: never ! src/share/vm/opto/matcher.cpp Changeset: dcdcc8c16e20 Author: kvn Date: 2009-11-04 14:43 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/dcdcc8c16e20 6896352: CTW fails hotspot/src/share/vm/opto/escape.cpp:1155 Summary: Always call C->get_alias_index(phase->type(address)) during parsing. Reviewed-by: never ! src/share/vm/opto/escape.cpp ! src/share/vm/opto/memnode.cpp Changeset: 2f1ec89b9995 Author: cfang Date: 2009-11-10 17:00 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/2f1ec89b9995 Merge ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp Changeset: 473cce303f13 Author: phh Date: 2009-10-28 16:25 -0400 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/473cce303f13 6887571: Increase default heap config sizes Summary: Apply modification of existing server heap size ergo to all collectors except CMS. Reviewed-by: jmasa, ysr, xlu ! src/cpu/sparc/vm/c1_globals_sparc.hpp ! src/cpu/sparc/vm/c2_globals_sparc.hpp ! src/cpu/sparc/vm/globals_sparc.hpp ! src/cpu/x86/vm/c1_globals_x86.hpp ! src/cpu/x86/vm/c2_globals_x86.hpp ! src/cpu/x86/vm/globals_x86.hpp ! src/cpu/zero/vm/globals_zero.hpp ! src/os_cpu/linux_x86/vm/globals_linux_x86.hpp ! src/os_cpu/solaris_x86/vm/globals_solaris_x86.hpp ! src/os_cpu/windows_x86/vm/globals_windows_x86.hpp ! src/share/vm/gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.cpp ! src/share/vm/memory/collectorPolicy.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/arguments.hpp ! src/share/vm/runtime/globals.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/globals_extension.hpp ! src/share/vm/services/management.cpp Changeset: c4ecde2f6b3c Author: xlu Date: 2009-10-30 17:24 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/c4ecde2f6b3c Merge Changeset: 97b36138b494 Author: kamg Date: 2009-11-06 15:04 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/97b36138b494 Merge Changeset: ba7ea42fc66e Author: phh Date: 2009-11-04 16:49 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/ba7ea42fc66e 6898160: Need serviceability support for new vm argument type 'uint64_t' Summary: Add serviceability support for uint64_t. Flags of unknown type assert in debug builds and are ignored in product builds. Reviewed-by: never, xlu, mchung, dcubed ! src/share/vm/runtime/globals.cpp ! src/share/vm/services/attachListener.cpp ! src/share/vm/services/management.cpp Changeset: db0d21039f34 Author: kamg Date: 2009-11-06 16:05 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/db0d21039f34 Merge Changeset: fb4c00faa9da Author: kamg Date: 2009-11-11 09:13 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/fb4c00faa9da Merge ! src/share/vm/runtime/arguments.cpp Changeset: 87b2fdd4bf98 Author: never Date: 2009-11-11 23:39 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/87b2fdd4bf98 6892079: live value must not be garbage failure after fix for 6854812 Reviewed-by: kvn ! src/share/vm/opto/parse1.cpp Changeset: b18963243361 Author: twisti Date: 2009-11-19 03:41 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/b18963243361 6902000: use ShouldNotReachHere() for btos/ctos/stos in TemplateInterpreterGenerator::set_short_entry_points Summary: set_entry_point is only ever used with the tos states of bytecode templates in templateTable.cpp and none of those use the subword tos states like btos, ctos and stos. Reviewed-by: kvn ! src/share/vm/interpreter/templateInterpreter.cpp Changeset: 7ef1d2e14917 Author: kvn Date: 2009-11-19 14:32 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/7ef1d2e14917 6902036: WorldWind asserts on escape.cpp:1153: assert(addr->is_AddP(),"AddP required") Summary: Remove the assert. Reviewed-by: twisti ! src/share/vm/opto/escape.cpp Changeset: de44705e6b33 Author: cfang Date: 2009-11-24 11:49 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/de44705e6b33 Merge Changeset: 84cb6f20afb3 Author: phh Date: 2009-11-20 16:22 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/84cb6f20afb3 6900899: vm fails to start when -Xmx value is less than OldSize + NewSize Summary: Set minimum heap size to min(OldSize + NewSize, MaxHeapSize) in Arguments::set_heap_size(). Reviewed-by: kvn, ysr, tonyp ! src/share/vm/runtime/arguments.cpp Changeset: a75edfd400ea Author: acorn Date: 2009-11-11 15:49 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/a75edfd400ea 6893504: LinkageError for bootstrap duplicate class definitions. Reviewed-by: kamg, xlu ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/classfile/systemDictionary.hpp Changeset: 1920bd911283 Author: acorn Date: 2009-11-23 16:24 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1920bd911283 Merge ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/classfile/systemDictionary.hpp Changeset: e1fb452ad949 Author: kamg Date: 2009-11-25 09:03 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/e1fb452ad949 Merge Changeset: 8e7adf982378 Author: twisti Date: 2009-11-27 07:56 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/8e7adf982378 6896043: first round of zero fixes Reviewed-by: kvn Contributed-by: Gary Benson ! src/cpu/zero/vm/cppInterpreter_zero.cpp ! src/cpu/zero/vm/frame_zero.cpp ! src/cpu/zero/vm/frame_zero.hpp ! src/cpu/zero/vm/globals_zero.hpp ! src/cpu/zero/vm/sharedRuntime_zero.cpp ! src/cpu/zero/vm/sharkFrame_zero.hpp ! src/share/vm/interpreter/bytecodeInterpreter.cpp ! src/share/vm/prims/jni.cpp ! src/share/vm/prims/jvmtiManageCapabilities.cpp ! src/share/vm/runtime/os.hpp Changeset: 6400f475effe Author: iveresov Date: 2009-12-01 14:49 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/6400f475effe Merge Changeset: 7c57aead6d3e Author: never Date: 2009-11-12 09:24 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/7c57aead6d3e 6892658: C2 should optimize some stringbuilder patterns Reviewed-by: kvn, twisti ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/ci/ciEnv.hpp ! src/share/vm/ci/ciInstanceKlass.cpp ! src/share/vm/ci/ciInstanceKlass.hpp ! src/share/vm/ci/ciObjectFactory.cpp ! src/share/vm/classfile/systemDictionary.hpp ! src/share/vm/classfile/vmSymbols.cpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/includeDB_compiler2 ! src/share/vm/includeDB_core ! src/share/vm/memory/universe.cpp ! src/share/vm/memory/universe.hpp ! src/share/vm/opto/c2_globals.cpp ! src/share/vm/opto/c2_globals.hpp ! src/share/vm/opto/callGenerator.cpp ! src/share/vm/opto/callGenerator.hpp ! src/share/vm/opto/callnode.cpp ! src/share/vm/opto/callnode.hpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/compile.hpp ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/graphKit.hpp ! src/share/vm/opto/macro.cpp ! src/share/vm/opto/memnode.cpp ! src/share/vm/opto/node.hpp ! src/share/vm/opto/parseHelper.cpp ! src/share/vm/opto/phase.hpp ! src/share/vm/opto/phaseX.hpp + src/share/vm/opto/stringopts.cpp + src/share/vm/opto/stringopts.hpp ! src/share/vm/opto/type.hpp ! src/share/vm/runtime/globals.cpp ! src/share/vm/runtime/globals_extension.hpp ! src/share/vm/utilities/growableArray.hpp Changeset: bd12fff78df5 Author: cfang Date: 2009-11-25 12:09 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/bd12fff78df5 6904191: OptimizeStringConcat should be product instead of experimental Summary: Make OptimizeStringConcat a product VM option(contributed by never) Reviewed-by: never ! src/share/vm/opto/c2_globals.hpp Changeset: facbc74580c3 Author: iveresov Date: 2009-12-01 22:11 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/facbc74580c3 Merge ! src/share/vm/classfile/systemDictionary.hpp Changeset: 8b22f86d1740 Author: cfang Date: 2009-12-02 13:29 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/8b22f86d1740 6901572: JVM 1.6.16 crash on loops: assert(has_node(i),"") Summary: Skip the secondary induction variable handling if it is dead Reviewed-by: never, kvn ! src/share/vm/opto/loopnode.cpp + test/compiler/6901572/Test.java Changeset: 5f932a151fd4 Author: johnc Date: 2009-11-06 11:10 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/5f932a151fd4 6895788: G1: SATB and update buffer allocation code allocates too much space Summary: The type in the NEW_C_HEAP_ARRRY and FREE_C_HEAP_ARRAY calls in the buffer allocation code was changed from void* to char as the size argument had already been mulitipled by the byte size of an object pointer. Reviewed-by: ysr, tonyp ! src/share/vm/gc_implementation/g1/ptrQueue.cpp Changeset: 0e2d7ae2bc67 Author: jmasa Date: 2009-11-10 11:32 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/0e2d7ae2bc67 6898857: [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error Summary: Use CollectorPolicy information instead of MaxNewSize Reviewed-by: ysr, jcoomes ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp Changeset: 89f1b9ae8991 Author: ysr Date: 2009-11-13 11:55 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/89f1b9ae8991 6898948: G1: forensic instrumentation for out-of-bounds recent_avg_pause_time_ratio() Summary: Added instrumentation and (temporary) assert in non-product mode; clipped the value when found out-of-bounds in product mode. Fix of original issue will follow collection of data from this instrumentation. Reviewed-by: jcoomes, tonyp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/utilities/numberSeq.cpp ! src/share/vm/utilities/numberSeq.hpp Changeset: 23b9a8d315fc Author: ysr Date: 2009-11-19 10:19 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/23b9a8d315fc 6902701: G1: protect debugging code related to 6898948 with a debug flag Summary: Protected stats dump with a new develop flag; other than for the dump, reconciled product and non-product behaviour in face of the error. Reviewed-by: tonyp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp Changeset: 3fc996d4edd2 Author: ysr Date: 2009-11-19 13:43 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/3fc996d4edd2 6902303: G1: ScavengeALot should cause an incremental, rather than a full, collection Summary: ScavengeALot now causes an incremental (but possibly partially young, in the G1 sense) collection. Some such collections may be abandoned on account of MMU specs. Band-aided a native leak associated with abandoned pauses, as well as an MMU tracker overflow related to frequent scavenge events in the face of a large MMU denominator interval; the latter is protected by a product flag that defaults to false. Reviewed-by: tonyp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1MMUTracker.cpp ! src/share/vm/gc_implementation/g1/g1MMUTracker.hpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp ! src/share/vm/gc_implementation/g1/vm_operations_g1.cpp ! src/share/vm/gc_implementation/g1/vm_operations_g1.hpp ! src/share/vm/memory/sharedHeap.hpp Changeset: db0d5eba9d20 Author: tonyp Date: 2009-11-20 14:47 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/db0d5eba9d20 6815790: G1: Missing MemoryPoolMXBeans with -XX:+UseG1GC Summary: It introduces the necessary memory pools for G1. Reviewed-by: mchung, ysr ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/includeDB_gc_g1 + src/share/vm/services/g1MemoryPool.cpp + src/share/vm/services/g1MemoryPool.hpp ! src/share/vm/services/memoryManager.cpp ! src/share/vm/services/memoryManager.hpp ! src/share/vm/services/memoryService.cpp ! src/share/vm/services/memoryService.hpp Changeset: fa357420e7d2 Author: johnc Date: 2009-11-24 15:19 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/fa357420e7d2 6899058: G1: Internal error in ptrQueue.cpp:201 in nightly tests Summary: Fixes a race on the dirty card queue completed buffer list between worker thread(s) performing a flush of a deferred store barrier (enqueueing a newly completed buffer) and worker thread(s) in the RSet updating code claiming completed buffers. Removed the routine that removes elements from the completed update buffer queue using a CAS. Reviewed-by: ysr, tonyp ! src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp ! src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp Changeset: 6aa7255741f3 Author: ysr Date: 2009-12-03 15:01 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/6aa7255741f3 6906727: UseCompressedOops: some card-marking fixes related to object arrays Summary: Introduced a new write_ref_array(HeapWords* start, size_t count) method that does the requisite MemRegion range calculation so (some of the) clients of the erstwhile write_ref_array(MemRegion mr) do not need to worry. This removed all external uses of array_size(), which was also simplified and made private. Asserts were added to catch other possible issues. Further, less essential, fixes stemming from this investigation are deferred to CR 6904516 (to follow shortly in hs17). Reviewed-by: kvn, coleenp, jmasa ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/includeDB_core ! src/share/vm/memory/barrierSet.cpp ! src/share/vm/memory/barrierSet.hpp ! src/share/vm/memory/barrierSet.inline.hpp ! src/share/vm/memory/cardTableModRefBS.cpp ! src/share/vm/oops/objArrayKlass.cpp ! src/share/vm/oops/objArrayOop.hpp Changeset: ed52bcc32739 Author: tonyp Date: 2009-12-04 07:44 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/ed52bcc32739 6880903: G1: G1 reports incorrect Runtime.maxMemory() Summary: G1 reports committed memory instead of reserved memory from the Runtime.maxMemory() method Reviewed-by: ysr, jmasa ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/services/g1MemoryPool.cpp ! src/share/vm/services/g1MemoryPool.hpp Changeset: afc30fccf324 Author: tonyp Date: 2009-12-04 07:44 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/afc30fccf324 6906565: G1: deal with compilation warning in g1MemoryPool.hpp Summary: size_t max_size() hides size_t max_size() const. Reviewed-by: jmasa, ysr ! src/share/vm/services/g1MemoryPool.cpp ! src/share/vm/services/g1MemoryPool.hpp Changeset: 9118860519b6 Author: tonyp Date: 2009-12-07 14:22 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/9118860519b6 6904967: G1: some CollectionUsageThreshold tests fail Summary: ensure that max and committed are non-zero (currently: at least as large as the region size). Reviewed-by: iveresov, mchung ! src/share/vm/services/g1MemoryPool.cpp Changeset: 7bfd295ec074 Author: ysr Date: 2009-12-08 15:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/7bfd295ec074 6908208: UseCompressedOops: array_size() returns incorrect size for MAX_INT object array following 6906727 Summary: In array_size() cast to an unsigned to avoid overflow of intermediate value. Reviewed-by: kvn, tonyp, jmasa, jcoomes, coleenp ! src/share/vm/oops/objArrayOop.hpp Changeset: 84a2da7f454c Author: jmasa Date: 2009-12-11 08:39 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/84a2da7f454c Merge ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/includeDB_core Changeset: 74e00f62c726 Author: trims Date: 2009-12-11 16:38 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/74e00f62c726 Merge Changeset: 61b46f7853d4 Author: trims Date: 2009-12-22 16:32 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/61b46f7853d4 Merge Changeset: c5d3d979ae27 Author: never Date: 2009-12-08 16:27 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/c5d3d979ae27 6908167: jbb2005, OptimizeStringConcat causes assert in EA Reviewed-by: kvn ! src/share/vm/opto/graphKit.cpp Changeset: f96a1a986f7b Author: kvn Date: 2009-12-09 16:40 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/f96a1a986f7b 6895383: JCK test throws NPE for method compiled with Escape Analysis Summary: Add missing checks for MemBar nodes in EA. Reviewed-by: never ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/escape.cpp ! src/share/vm/opto/escape.hpp ! src/share/vm/opto/lcm.cpp ! src/share/vm/opto/macro.cpp ! src/share/vm/opto/memnode.cpp ! src/share/vm/opto/memnode.hpp ! src/share/vm/opto/node.hpp ! src/share/vm/opto/parse3.cpp + test/compiler/6895383/Test.java Changeset: 7fee0a6cc6d4 Author: kvn Date: 2009-12-09 19:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/7fee0a6cc6d4 6896727: nsk/logging/LoggingPermission/LoggingPermission/logperm002 fails with G1, EscapeAnalisys Summary: Move instance store's memory users to corresponding memory slices when updating its memory edge. Reviewed-by: never ! src/share/vm/opto/escape.cpp ! src/share/vm/opto/escape.hpp + test/compiler/6896727/Test.java Changeset: 6dc5471e0f66 Author: iveresov Date: 2009-12-15 17:19 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/6dc5471e0f66 Merge Changeset: 9dc2adf2cbe0 Author: johnc Date: 2009-12-09 23:51 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/9dc2adf2cbe0 6908215: G1: SEGV with G1PolicyVerbose=2 debug flag Summary: Change CollectionSetChooser::printSortedHeapRegions to handle null entries in _markedRegions growable array. Reviewed-by: jmasa, tonyp, iveresov ! src/share/vm/gc_implementation/g1/collectionSetChooser.cpp Changeset: 27f9477e879b Author: jmasa Date: 2009-12-11 09:30 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/27f9477e879b Merge Changeset: cf9a9a50e763 Author: jmasa Date: 2009-12-17 07:02 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/cf9a9a50e763 Merge Changeset: 22e4972db0a6 Author: trims Date: 2009-12-22 16:33 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/22e4972db0a6 Merge Changeset: 920875ae1277 Author: trims Date: 2009-12-22 16:35 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/920875ae1277 6912782: Bump the HS17 build number to 06 Summary: Update the HS17 build number to 06 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 85f13cdfbc1d Author: twisti Date: 2009-12-16 12:48 +0100 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/85f13cdfbc1d 6829192: JSR 292 needs to support 64-bit x86 Summary: changes for method handles and invokedynamic Reviewed-by: kvn ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/interp_masm_x86_32.cpp ! src/cpu/x86/vm/interp_masm_x86_64.cpp ! src/cpu/x86/vm/interp_masm_x86_64.hpp ! src/cpu/x86/vm/interpreter_x86_64.cpp ! src/cpu/x86/vm/methodHandles_x86.cpp ! src/cpu/x86/vm/stubGenerator_x86_64.cpp ! src/cpu/x86/vm/templateInterpreter_x86_64.cpp ! src/cpu/x86/vm/templateTable_x86_32.cpp ! src/cpu/x86/vm/templateTable_x86_64.cpp ! src/cpu/x86/vm/templateTable_x86_64.hpp ! src/share/vm/classfile/classFileParser.cpp Changeset: 032260830071 Author: never Date: 2009-12-16 22:15 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/032260830071 5057818: codecache full and compiler disabled in bigapps fastdebug run Reviewed-by: kvn ! src/share/vm/code/nmethod.cpp ! src/share/vm/code/nmethod.hpp Changeset: 1ea456c6f2b7 Author: iveresov Date: 2009-12-22 17:56 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1ea456c6f2b7 Merge Changeset: 44f61c24ddab Author: iveresov Date: 2009-12-16 15:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/44f61c24ddab 6862387: tune concurrent refinement further Summary: Reworked the concurrent refinement: threads activation, feedback-based threshold adjustment, other miscellaneous fixes. Reviewed-by: apetrusenko, tonyp ! src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp ! src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp ! src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp ! src/share/vm/gc_implementation/g1/concurrentG1RefineThread.hpp ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp ! src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp ! src/share/vm/gc_implementation/g1/ptrQueue.cpp ! src/share/vm/gc_implementation/g1/ptrQueue.hpp ! src/share/vm/gc_implementation/g1/satbQueue.cpp ! src/share/vm/gc_implementation/g1/satbQueue.hpp ! src/share/vm/gc_implementation/includeDB_gc_g1 Changeset: cc0ca4f00e89 Author: jmasa Date: 2009-12-22 22:35 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/cc0ca4f00e89 Merge Changeset: 7ac7d558e895 Author: jmasa Date: 2009-12-23 00:47 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/7ac7d558e895 Merge Changeset: 9749fbc4859b Author: trims Date: 2009-12-23 02:57 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/9749fbc4859b Merge Changeset: 4b966d9946a3 Author: mchung Date: 2009-11-25 08:37 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/4b966d9946a3 6888880: JKernel VM to inject the sun.jkernel.DownloadManager as a boot classloader hook Summary: Call sun.jkernel.DownloadManager.setBootClassLoaderHook during the kernel VM initialization Reviewed-by: alanb, coleenp, acorn ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/runtime/thread.cpp Changeset: 0018cf203583 Author: coleenp Date: 2009-12-02 07:59 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/0018cf203583 Merge Changeset: 95e9083cf4a7 Author: dholmes Date: 2009-12-01 22:29 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/95e9083cf4a7 6822370: ReentrantReadWriteLock: threads hung when there are no threads holding onto the lock (Netra x4450) Summary: This day one bug is caused by missing memory barriers in various Parker::park() paths that can result in lost wakeups and hangs. Reviewed-by: dice, acorn ! src/os/linux/vm/os_linux.cpp ! src/os/solaris/vm/os_solaris.cpp Changeset: 3115100553b5 Author: dholmes Date: 2009-12-02 20:32 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/3115100553b5 Merge Changeset: 547f81740344 Author: minqi Date: 2009-12-11 11:09 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/547f81740344 6361589: Print out stack trace for target thread of GC crash Summary: If GC crashed with java thread involved, print out the java stack trace in error report Reviewed-by: never, ysr, coleenp, dholmes ! src/share/vm/runtime/frame.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/thread.cpp ! src/share/vm/runtime/thread.hpp ! src/share/vm/runtime/vmStructs.cpp ! src/share/vm/runtime/vmThread.cpp ! src/share/vm/runtime/vmThread.hpp ! src/share/vm/utilities/vmError.cpp Changeset: 9127aa69352e Author: dcubed Date: 2009-12-14 09:51 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/9127aa69352e 6648438: 4/4 src/share/vm/prims/jvmtiEnv.cpp:457 assert(phase == JVMTI_PHASE_LIVE,"sanity check") Summary: Return error on invalid JVMTI_PHASE instead of asserting. Reviewed-by: dholmes, ohair ! src/share/vm/prims/jvmtiEnv.cpp Changeset: 98cd9901c161 Author: dcubed Date: 2009-12-14 10:05 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/98cd9901c161 6849968: 3/2 JVMTI tests fails on jdk5.0 with hs14 Summary: If a JVMTI agent asks for version 1.0, then it should get version 1.0 semantics. Reviewed-by: dholmes, ohair ! src/share/vm/prims/jvmtiEnv.cpp ! src/share/vm/prims/jvmtiEnvBase.cpp ! src/share/vm/prims/jvmtiEnvBase.hpp ! src/share/vm/prims/jvmtiExport.cpp ! src/share/vm/prims/jvmtiExport.hpp ! src/share/vm/prims/jvmtiHpp.xsl Changeset: dcb15a6f342d Author: dcubed Date: 2009-12-14 13:26 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/dcb15a6f342d Merge ! src/share/vm/prims/jvmtiEnv.cpp ! src/share/vm/prims/jvmtiEnvBase.cpp ! src/share/vm/prims/jvmtiEnvBase.hpp ! src/share/vm/prims/jvmtiExport.cpp Changeset: 167c2986d91b Author: phh Date: 2009-12-16 12:54 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/167c2986d91b 6843629: Make current hotspot build part of jdk5 control build Summary: Source changes for older compilers plus makefile changes. Reviewed-by: xlu ! make/linux/makefiles/debug.make ! make/linux/makefiles/fastdebug.make ! make/linux/makefiles/jsig.make ! make/linux/makefiles/jvmg.make ! make/linux/makefiles/launcher.make ! make/linux/makefiles/saproc.make ! make/linux/makefiles/vm.make ! make/solaris/makefiles/debug.make ! make/solaris/makefiles/dtrace.make ! make/solaris/makefiles/fastdebug.make ! make/solaris/makefiles/jsig.make ! make/solaris/makefiles/jvmg.make ! make/solaris/makefiles/launcher.make ! make/solaris/makefiles/saproc.make ! make/solaris/makefiles/sparcWorks.make ! make/solaris/makefiles/vm.make ! src/os/linux/vm/os_linux.cpp ! src/os/solaris/dtrace/libjvm_db.c ! src/os/solaris/vm/os_solaris.cpp ! src/os/windows/vm/os_windows.cpp ! src/share/vm/ci/bcEscapeAnalyzer.hpp ! src/share/vm/code/dependencies.cpp ! src/share/vm/code/dependencies.hpp ! src/share/vm/memory/heap.cpp ! src/share/vm/memory/referenceProcessor.cpp ! src/share/vm/oops/instanceRefKlass.cpp ! src/share/vm/oops/oop.hpp ! src/share/vm/runtime/os.hpp Changeset: 2e8bdfdd3ba2 Author: xlu Date: 2009-12-16 13:16 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/2e8bdfdd3ba2 6899467: System property java.class.version out-of-sync with VM for jdk 5.0 with HS 16 in nightly build Reviewed-by: kvn, never, dholmes, ysr ! src/share/vm/classfile/classFileParser.cpp Changeset: d48983315b71 Author: xlu Date: 2009-12-16 13:19 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/d48983315b71 Merge Changeset: 933a3e806ce6 Author: xlu Date: 2009-12-16 14:27 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/933a3e806ce6 6895168: JCK api/signaturetest/sigtest.basic.html#basic test fails for jdk 5.0 with HS 16 in nightly build Reviewed-by: dholmes, acorn, jrose ! src/share/vm/oops/instanceKlass.cpp ! src/share/vm/oops/instanceKlass.hpp ! src/share/vm/prims/jvm.cpp Changeset: ba60f0a5d714 Author: xlu Date: 2009-12-16 15:44 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/ba60f0a5d714 Merge Changeset: 6952ed8677bf Author: xlu Date: 2009-12-17 01:19 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/6952ed8677bf Merge Changeset: a5a6adfca6ec Author: trims Date: 2009-12-23 03:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/a5a6adfca6ec Merge ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/classfile/vmSymbols.hpp Changeset: 1bc68593a110 Author: katleman Date: 2010-01-14 15:48 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1bc68593a110 Added tag jdk7-b79 for changeset a5a6adfca6ec ! .hgtags Changeset: bd7ed11db07e Author: Greg Lewis Date: 2010-01-16 12:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/bd7ed11db07e Merge from main OpenJDK repository ! src/cpu/x86/vm/interp_masm_x86_32.cpp ! src/cpu/x86/vm/stubGenerator_x86_64.cpp ! src/cpu/x86/vm/templateTable_x86_32.cpp ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/includeDB_compiler2 ! src/share/vm/includeDB_core ! src/share/vm/interpreter/bytecodeTracer.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/utilities/vmError.cpp Changeset: 668862175b0a Author: Greg Lewis Date: 2010-01-16 20:41 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/668862175b0a . Changes to the BSD specific files equivalent to the changes to the Linux specific files for b79. ! make/bsd/makefiles/debug.make ! make/bsd/makefiles/fastdebug.make ! make/bsd/makefiles/jsig.make ! make/bsd/makefiles/jvmg.make ! make/bsd/makefiles/launcher.make ! make/bsd/makefiles/saproc.make ! make/bsd/makefiles/vm.make ! src/os/bsd/vm/os_bsd.cpp From glewis at eyesbeyond.com Sat Jan 16 21:19:04 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 17 Jan 2010 05:19:04 +0000 Subject: hg: bsd-port/bsd-port/jaxp: 2 new changesets Message-ID: <20100117051904.D5D5741987@hg.openjdk.java.net> Changeset: 9219574db593 Author: katleman Date: 2010-01-14 15:48 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/9219574db593 Added tag jdk7-b79 for changeset b1005c504358 ! .hgtags Changeset: 8f68f4c91d9b Author: Greg Lewis Date: 2010-01-16 12:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/8f68f4c91d9b Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Jan 16 21:19:10 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 17 Jan 2010 05:19:10 +0000 Subject: hg: bsd-port/bsd-port/jaxws: 2 new changesets Message-ID: <20100117051910.3E55541988@hg.openjdk.java.net> Changeset: 447767dee56a Author: katleman Date: 2010-01-14 15:48 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/447767dee56a Added tag jdk7-b79 for changeset c08894f5b6e5 ! .hgtags Changeset: bd96b254560d Author: Greg Lewis Date: 2010-01-16 12:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/bd96b254560d Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Jan 16 21:19:33 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 17 Jan 2010 05:19:33 +0000 Subject: hg: bsd-port/bsd-port/jdk: 40 new changesets Message-ID: <20100117053203.14D514198C@hg.openjdk.java.net> Changeset: a0f6963b1618 Author: martin Date: 2009-12-08 12:41 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/a0f6963b1618 6903754: (bf) Improve floating-point buffer comparison Summary: Describe the exact behavior of {Double,Float}Buffer.{equals,compareTo}; fix non-anti-symmetric behavior of compareTo Reviewed-by: alanb Contributed-by: jessewilson at google.com ! make/java/nio/genBuffer.sh ! src/share/classes/java/nio/X-Buffer.java.template ! test/java/nio/Buffer/Basic-X.java.template ! test/java/nio/Buffer/BasicByte.java ! test/java/nio/Buffer/BasicChar.java ! test/java/nio/Buffer/BasicDouble.java ! test/java/nio/Buffer/BasicFloat.java ! test/java/nio/Buffer/BasicInt.java ! test/java/nio/Buffer/BasicLong.java ! test/java/nio/Buffer/BasicShort.java ! test/java/nio/Buffer/genBasic.sh Changeset: db5c77621c6b Author: weijun Date: 2009-12-09 11:15 +0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/db5c77621c6b 6908628: ObjectIdentifier s11n test fails Reviewed-by: xuelei ! test/sun/security/util/Oid/S11N.sh Changeset: c2f83e13bbe5 Author: darcy Date: 2009-12-09 17:55 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/c2f83e13bbe5 6909057: @see Arrays#hashCode missing particular method specification in j.u.Objects.hash Reviewed-by: ksrini ! src/share/classes/java/util/Objects.java Changeset: 0f8f624ddcb4 Author: mchung Date: 2009-12-09 21:09 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/0f8f624ddcb4 6909082: Docs warning from java.util.logging.PlatformLoggingMXBean Summary: Fix incorrect tag @See with @see. Reviewed-by: darcy ! src/share/classes/java/util/logging/PlatformLoggingMXBean.java Changeset: 7c9be6c9385a Author: mullan Date: 2009-12-10 11:31 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/7c9be6c9385a 6867348: Digest Value of References inside Manifest - calculation order problem Reviewed-by: xuelei ! src/share/classes/org/jcp/xml/dsig/internal/dom/DOMXMLSignature.java ! test/javax/xml/crypto/dsig/GenerationTests.java Changeset: 421e652f00c7 Author: mullan Date: 2009-12-10 11:34 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/421e652f00c7 Merge Changeset: ae944611249f Author: chegar Date: 2009-12-10 15:52 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/ae944611249f 6909089: Memory leak occurs by lack of free for read buffer in SocketInputStream#read() Reviewed-by: alanb, jccollet ! src/windows/native/java/net/SocketInputStream.c Changeset: 59221d9e0c1c Author: chegar Date: 2009-12-10 09:08 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/59221d9e0c1c Merge Changeset: f9c9c2b726a0 Author: darcy Date: 2009-12-10 13:04 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/f9c9c2b726a0 6909070: Missing package statements in java.text.Bidi @see links Reviewed-by: anthony ! src/share/classes/java/text/Bidi.java Changeset: aa0d374b40a5 Author: darcy Date: 2009-12-10 13:28 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/aa0d374b40a5 4891262: API spec, javax/accessibility: few invalid javadoc tags Reviewed-by: jjg ! src/share/classes/javax/accessibility/AccessibleContext.java ! src/share/classes/javax/accessibility/AccessibleExtendedText.java ! src/share/classes/javax/accessibility/AccessibleKeyBinding.java Changeset: 3267ca7afe95 Author: darcy Date: 2009-12-11 10:40 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/3267ca7afe95 6909563: Javadoc build warnings in rmi, security, management Reviewed-by: mchung, mullan ! src/share/classes/java/lang/management/PlatformManagedObject.java ! src/share/classes/java/rmi/activation/Activatable.java ! src/share/classes/java/rmi/registry/LocateRegistry.java ! src/share/classes/java/rmi/server/RemoteObjectInvocationHandler.java ! src/share/classes/java/security/cert/CertPathValidatorException.java Changeset: 5434b2585a08 Author: andrew Date: 2009-12-11 23:47 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/5434b2585a08 6909442: Fix comments in test/sun/tools/jhat/HatRun.java Summary: Update the comments in this test to match the changes in 6902325 Reviewed-by: ohair ! test/sun/tools/jhat/HatRun.java Changeset: 2d53da2c4764 Author: ohair Date: 2009-12-09 09:46 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/2d53da2c4764 6906210: Fix another minor typo in test/Makefile Reviewed-by: tbell, dcubed ! test/Makefile ! test/ProblemList.txt ! test/com/sun/jdi/NoLaunchOptionTest.java ! test/com/sun/jdi/OptionTest.java ! test/sun/tools/jhat/HatRun.java Changeset: a5ee97f72245 Author: ohair Date: 2009-12-09 09:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/a5ee97f72245 Merge Changeset: 8d42b2bd25fe Author: ohair Date: 2009-12-10 16:57 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/8d42b2bd25fe Merge Changeset: c84d8b9be5c6 Author: ohair Date: 2009-12-11 15:29 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/c84d8b9be5c6 6909373: Add -ea to the testing done by jdk/test/Makefile Reviewed-by: darcy ! test/Makefile ! test/ProblemList.txt Changeset: 623c22f00e49 Author: ohair Date: 2009-12-11 15:29 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/623c22f00e49 Merge Changeset: 15568b6998f4 Author: ohair Date: 2009-12-11 17:18 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/15568b6998f4 Merge ! test/sun/tools/jhat/HatRun.java Changeset: ad1e30930c6c Author: darcy Date: 2009-12-15 13:51 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/ad1e30930c6c 6908131: Pure Java implementations of StrictMath.floor(double) & StrictMath.ceil(double) Reviewed-by: alanb ! make/java/java/mapfile-vers ! make/java/java/reorder-i586 ! make/java/java/reorder-sparc ! make/java/java/reorder-sparcv9 ! src/share/classes/java/lang/StrictMath.java ! src/share/native/java/lang/StrictMath.c + test/java/lang/Math/CeilAndFloorTests.java Changeset: c6d3ca281660 Author: ohair Date: 2009-12-16 12:45 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/c6d3ca281660 6558110: tmp/java/jli/obj_g/static is not deleted automatically Reviewed-by: ksrini ! make/java/jli/Makefile Changeset: a368ebcfeeb6 Author: mchung Date: 2009-12-17 08:11 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/a368ebcfeeb6 6898747: Allow JNDI cosnaming provider to be used when java.applet is not present Summary: Check if java.applet.Applet is present before accessing the type Reviewed-by: alanb, vinnie ! src/share/classes/com/sun/jndi/toolkit/corba/CorbaUtils.java Changeset: de776cd139aa Author: mchung Date: 2009-12-18 07:49 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/de776cd139aa Merge Changeset: da43f2e977ac Author: mchung Date: 2009-12-18 11:36 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/da43f2e977ac 6909572: Add a new target for building modules Summary: Add a new "modules" build target that builds jdk and jre module image Reviewed-by: alanb, ohair ! make/Makefile + make/common/Modules.gmk + make/modules/Makefile + make/modules/bootmodule.roots + make/modules/jdk7.depconfig + make/modules/modules.config + make/modules/modules.group + make/modules/optional.depconfig + make/modules/tools/Makefile + make/modules/tools/build.xml + make/modules/tools/nbproject/project.properties + make/modules/tools/nbproject/project.xml + make/modules/tools/src/com/sun/classanalyzer/AnnotatedDependency.java + make/modules/tools/src/com/sun/classanalyzer/AnnotationParser.java + make/modules/tools/src/com/sun/classanalyzer/BootAnalyzer.java + make/modules/tools/src/com/sun/classanalyzer/CheckDeps.java + make/modules/tools/src/com/sun/classanalyzer/ClassAnalyzer.java + make/modules/tools/src/com/sun/classanalyzer/ClassFileParser.java + make/modules/tools/src/com/sun/classanalyzer/ClassPath.java + make/modules/tools/src/com/sun/classanalyzer/CodeAttributeParser.java + make/modules/tools/src/com/sun/classanalyzer/ConstantPoolAnalyzer.java + make/modules/tools/src/com/sun/classanalyzer/ConstantPoolParser.java + make/modules/tools/src/com/sun/classanalyzer/DependencyConfig.java + make/modules/tools/src/com/sun/classanalyzer/Klass.java + make/modules/tools/src/com/sun/classanalyzer/Module.java + make/modules/tools/src/com/sun/classanalyzer/ModuleConfig.java + make/modules/tools/src/com/sun/classanalyzer/ResolutionInfo.java + make/modules/tools/src/com/sun/classanalyzer/ResourceFile.java + make/modules/tools/src/com/sun/classanalyzer/ShowDeps.java Changeset: b8d1e718ea6d Author: mchung Date: 2009-12-18 11:42 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/b8d1e718ea6d 6909573: Temporary launcher support to add modules in the bootclasspath Summary: Add the list of modules to the bootclasspath if lib/rt.jar and classes don't exist Reviewed-by: alanb, ohair, ksrini ! src/share/bin/java.c Changeset: 3b896fcc7806 Author: tbell Date: 2009-12-19 10:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/3b896fcc7806 Merge Changeset: f7e4cda33734 Author: darcy Date: 2009-12-22 21:48 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/f7e4cda33734 6908541: Bad resource management in java/math/BigInteger/BigIntegerTest.java Reviewed-by: alanb ! test/ProblemList.txt ! test/java/math/BigInteger/BigIntegerTest.java Changeset: 94feb5bd31bd Author: ptisnovs Date: 2009-12-23 11:18 +0100 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/94feb5bd31bd 6912628: test/java/util/jar/JarFile/TurkCert.java cannot be run in samevm mode Summary: Added tag to run this test in othervm Reviewed-by: chegar ! test/java/util/jar/JarFile/TurkCert.java Changeset: 4a062158d2c5 Author: andrew Date: 2009-12-23 17:17 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/4a062158d2c5 6912893: (build) make/java/nio/FILES_java.gmk doesn't list sun.nio.cs.Unicode Summary: Add missing Java source file Reviewed-by: alanb ! make/java/nio/FILES_java.gmk Changeset: 49bc2b443eca Author: dl Date: 2009-12-23 15:57 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/49bc2b443eca 6908348: java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java get OOME for unbounded queues Reviewed-by: martin, dholmes ! test/java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java Changeset: 6a80c535f02e Author: weijun Date: 2009-12-24 13:56 +0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/6a80c535f02e 6843127: krb5 should not try to access unavailable kdc too often Reviewed-by: valeriep, mullan ! src/share/classes/sun/security/krb5/Config.java ! src/share/classes/sun/security/krb5/KrbKdcReq.java ! src/share/lib/security/java.security + test/sun/security/krb5/auto/BadKdc.java + test/sun/security/krb5/auto/BadKdc1.java + test/sun/security/krb5/auto/BadKdc2.java + test/sun/security/krb5/auto/BadKdc3.java + test/sun/security/krb5/auto/BadKdc4.java ! test/sun/security/krb5/auto/KDC.java ! test/sun/security/krb5/auto/OneKDC.java Changeset: 91c3cabb3d32 Author: weijun Date: 2009-12-24 13:56 +0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/91c3cabb3d32 6907425: JCK Kerberos tests fail since b77 Reviewed-by: valeriep ! src/share/classes/sun/security/krb5/EncryptionKey.java ! test/sun/security/krb5/auto/KDC.java ! test/sun/security/krb5/auto/MoreKvno.java Changeset: ef9774dc4f5a Author: weijun Date: 2010-01-05 10:40 +0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/ef9774dc4f5a 6895424: RFC 5653 Reviewed-by: valeriep ! src/share/classes/org/ietf/jgss/GSSName.java ! src/share/classes/sun/security/jgss/GSSManagerImpl.java ! src/share/classes/sun/security/jgss/GSSNameImpl.java ! src/share/classes/sun/security/jgss/GSSUtil.java ! src/share/classes/sun/security/jgss/wrapper/GSSNameElement.java + test/sun/security/krb5/auto/Test5653.java Changeset: c028d78fa438 Author: weijun Date: 2010-01-05 10:40 +0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/c028d78fa438 6913636: kvno check in JSSE Reviewed-by: valeriep ! src/share/classes/sun/security/ssl/krb5/KerberosClientKeyExchangeImpl.java ! test/sun/security/krb5/auto/SSL.java Changeset: 9c352f7ed4a3 Author: jrose Date: 2009-10-21 23:19 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/9c352f7ed4a3 6891770: JSR 292 API needs initial unit tests Summary: backport working mlvm regression test to M3 implementation of JSR 292; requires jtreg 4.1 Reviewed-by: twisti + test/java/dyn/MethodHandlesTest.java Changeset: fc3d21b50545 Author: jrose Date: 2010-01-06 16:50 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/fc3d21b50545 Merge Changeset: dbcf6cafa65c Author: jrose Date: 2010-01-07 16:16 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/dbcf6cafa65c 6914665: update jdk code for JSR 292 (post 6858164) Summary: Fill in missing API implementations, fix numerous bugs, adjust APIs towards EG design. Reviewed-by: twisti ! src/share/classes/java/dyn/CallSite.java ! src/share/classes/java/dyn/InvokeDynamic.java ! src/share/classes/java/dyn/InvokeDynamicBootstrapError.java ! src/share/classes/java/dyn/JavaMethodHandle.java ! src/share/classes/java/dyn/Linkage.java ! src/share/classes/java/dyn/LinkagePermission.java ! src/share/classes/java/dyn/MethodHandle.java ! src/share/classes/java/dyn/MethodHandles.java ! src/share/classes/java/dyn/MethodType.java ! src/share/classes/java/dyn/package-info.java ! src/share/classes/sun/dyn/AdapterMethodHandle.java ! src/share/classes/sun/dyn/BoundMethodHandle.java ! src/share/classes/sun/dyn/CallSiteImpl.java ! src/share/classes/sun/dyn/FilterGeneric.java ! src/share/classes/sun/dyn/FilterOneArgument.java ! src/share/classes/sun/dyn/FromGeneric.java ! src/share/classes/sun/dyn/Invokers.java ! src/share/classes/sun/dyn/MemberName.java ! src/share/classes/sun/dyn/MethodHandleImpl.java ! src/share/classes/sun/dyn/MethodHandleNatives.java ! src/share/classes/sun/dyn/MethodTypeImpl.java + src/share/classes/sun/dyn/SpreadGeneric.java ! src/share/classes/sun/dyn/ToGeneric.java ! src/share/classes/sun/dyn/empty/Empty.java + src/share/classes/sun/dyn/util/BytecodeDescriptor.java ! src/share/classes/sun/dyn/util/BytecodeName.java - src/share/classes/sun/dyn/util/BytecodeSignature.java ! src/share/classes/sun/dyn/util/ValueConversions.java ! src/share/classes/sun/dyn/util/VerifyAccess.java ! src/share/classes/sun/dyn/util/VerifyType.java ! src/share/classes/sun/dyn/util/Wrapper.java ! test/java/dyn/MethodHandlesTest.java Changeset: 918920710d65 Author: jcoomes Date: 2010-01-13 15:16 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/918920710d65 Merge - src/share/classes/sun/dyn/util/BytecodeSignature.java Changeset: 756ab2266ffb Author: katleman Date: 2010-01-14 15:48 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/756ab2266ffb Added tag jdk7-b79 for changeset 918920710d65 ! .hgtags Changeset: b428c8f80209 Author: jgodinez Date: 2010-01-15 09:06 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/b428c8f80209 6915906: tests in closed/javax/print/ should not be calling System.exit() Reviewed-by: igor, prr ! test/ProblemList.txt + test/javax/print/DialogMargins.java + test/javax/print/StreamPrintingOrientation.java + test/javax/print/attribute/AttributeTest.java + test/javax/print/attribute/ServiceDialogTest.java ! test/javax/print/attribute/SidesPageRangesTest.java Changeset: 118b9e18c428 Author: Greg Lewis Date: 2010-01-16 12:51 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/118b9e18c428 Merge from main OpenJDK repository ! make/java/jli/Makefile ! src/share/bin/java.c - src/share/classes/sun/dyn/util/BytecodeSignature.java ! test/Makefile From glewis at eyesbeyond.com Sat Jan 16 21:32:10 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 17 Jan 2010 05:32:10 +0000 Subject: hg: bsd-port/bsd-port/langtools: 8 new changesets Message-ID: <20100117053231.E45504198D@hg.openjdk.java.net> Changeset: ff823a039e16 Author: darcy Date: 2009-12-10 20:35 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/ff823a039e16 6909538: Clarify meaning of "element" in javax.lang.model.element API Reviewed-by: ahe ! src/share/classes/javax/lang/model/element/package-info.java Changeset: 4011f49b4af8 Author: jjg Date: 2009-12-11 14:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/4011f49b4af8 6906175: bridge JSR199 and JSR 203 APIs Reviewed-by: darcy, alanb ! make/build.properties ! make/build.xml ! src/share/classes/com/sun/tools/javac/file/BaseFileObject.java - src/share/classes/com/sun/tools/javac/file/CloseableURLClassLoader.java ! src/share/classes/com/sun/tools/javac/file/JavacFileManager.java ! src/share/classes/com/sun/tools/javac/file/Paths.java + src/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java + src/share/classes/com/sun/tools/javac/nio/PathFileManager.java + src/share/classes/com/sun/tools/javac/nio/PathFileObject.java + src/share/classes/com/sun/tools/javac/util/BaseFileManager.java + src/share/classes/com/sun/tools/javac/util/CloseableURLClassLoader.java ! src/share/classes/javax/tools/StandardJavaFileManager.java + test/tools/javac/nio/compileTest/CompileTest.java + test/tools/javac/nio/compileTest/HelloPathWorld.java Changeset: fbeb560f39e7 Author: jjg Date: 2009-12-12 09:28 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/fbeb560f39e7 6907575: [classfile] add support for classfile dependency analysis Reviewed-by: ksrini + src/share/classes/com/sun/tools/classfile/Dependencies.java + src/share/classes/com/sun/tools/classfile/Dependency.java + test/tools/javap/classfile/deps/GetDeps.java + test/tools/javap/classfile/deps/T6907575.java + test/tools/javap/classfile/deps/T6907575.out + test/tools/javap/classfile/deps/p/C1.java Changeset: 0666a8f87661 Author: jjg Date: 2009-12-15 13:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/0666a8f87661 6910317: [classfile] typo and other issues in Dependency classes Reviewed-by: ksrini ! src/share/classes/com/sun/tools/classfile/Dependencies.java ! src/share/classes/com/sun/tools/classfile/Dependency.java ! test/tools/javap/classfile/deps/GetDeps.java Changeset: 96c71cbc544b Author: darcy Date: 2009-12-18 11:15 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/96c71cbc544b 6911854: Update TestElementsAnnotatedWith.java to use @compile/proc Reviewed-by: jjg ! test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java Changeset: ac5b4c5644ce Author: tbell Date: 2009-12-19 10:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/ac5b4c5644ce Merge - src/share/classes/com/sun/tools/javac/file/CloseableURLClassLoader.java Changeset: f0074aa48d4e Author: katleman Date: 2010-01-14 15:48 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/f0074aa48d4e Added tag jdk7-b79 for changeset ac5b4c5644ce ! .hgtags Changeset: dd9f41d55ac4 Author: Greg Lewis Date: 2010-01-16 12:51 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/dd9f41d55ac4 Merge from main OpenJDK repository - src/share/classes/com/sun/tools/javac/file/CloseableURLClassLoader.java From glewis at eyesbeyond.com Sun Jan 17 15:45:01 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 17 Jan 2010 23:45:01 +0000 Subject: hg: bsd-port/bsd-port/hotspot: . s/LINUX/_ALLBSD_SOURCE in sysdefs where this isn't already the case. Message-ID: <20100117234505.63BE941AB0@hg.openjdk.java.net> Changeset: ede59353e649 Author: Greg Lewis Date: 2010-01-17 15:44 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/ede59353e649 . s/LINUX/_ALLBSD_SOURCE in sysdefs where this isn't already the case. ! make/bsd/platform_amd64.suncc ! make/bsd/platform_i486.suncc ! make/bsd/platform_ia64 ! make/bsd/platform_sparcv9 From ugokanain at newsguy.com Sun Jan 17 17:10:43 2010 From: ugokanain at newsguy.com (Ugo Kanain) Date: Sun, 17 Jan 2010 19:10:43 -0600 Subject: Missing libraries In-Reply-To: <3B941C1C-A589-4E08-9566-DAC04A5E091D@apple.com> References: <304e074a1001130116t28722c64v8ed03e534b9dd44f@mail.gmail.com> <59543F8A-344D-4B16-A14B-F704B7A3E23F@ganymede.org> <3B941C1C-A589-4E08-9566-DAC04A5E091D@apple.com> Message-ID: <664965ED-1933-4713-8752-6D492705ADEB@newsguy.com> Mike, I'm still having trouble. I am using the following build command, but something is wrong (obviously :) Did add the lc rpath (LC_RPATH=~/bsd- port/build/bsd-ppc/j2sdk-image/jre/lib/ppc) I am getting this error: Error occurred during initialization of VM Unable to load native library: dlopen(~/bsd-port/build/bsd-ppc/j2sdk- image/jre/lib/ppc/libjava.dylib, 1): Library not loaded: libjvm.dylib Referenced from: ~/bsd-port/build/bsd-ppc/j2sdk-image/jre/lib/ppc/ libjava.dylib LC_ALL=C LANG=C unset CLASSPATH unset JAVA_HOME sudo make \ CC=gcc-4.0 \ CXX=g++-4.0 \ SYS_CFLAGS="" LANG="C" JAVA_HOME="" CLASSPATH="" \ LD_LIBRARY_PATH="" MAKEFLAGS="" SKIP_COMPARE_IMAGES="YES" \ ALT_BOOTDIR=/Volumes/Alternate/openjdk7_boot \ ALT_BINARY_PLUGS_PATH=/opt/local/share/java/icedtea6-plugs \ ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \ ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \ ALT_JIBX_LIBS_PATH=/opt/local/share/java/jibx/lib \ ALT_MOTIF_DIR=/opt/local \ LC_RPATH=~/bsd-port/build/bsd-ppc/j2sdk-image/jre/lib/ppc \ DARWIN_SDK=/Developer/SDKs/MacOSX10.5u.sdk \ ALT_DEVTOOLS_PATH=/usr ALT_CUPS_HEADERS_PATH=/usr/include \ ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/ security/cacerts \ LIBFFI_CFLAGS="-I/usr/include/ffi" \ ANT_HOME=/usr/share/ant \ NO_DOCS=true \ HOTSPOT_BUILD_JOBS=1 PARALLEL_BUILD_JOBS=1 \ BUILD_DEPLOY="false" \ ZERO_BUILD=true \ ZERO_ENDIANNESS=big \ ZERO_LIBARCH=ppc \ ZERO_ARCHDEF=PPC \ ZERO_ARCHFLAG=-m32 On 13 Jan 2010, at 11:22 , Mike Swingler wrote: > OpenJDK right now uses DYLD_LIBRARY_PATH as a way to tell the Mac OS > X dynamic linker (dyld) where to find it's libraries by first name > only, and not by the full "install_path" in their Mach-o headers. To > avoid using DYLD_LIBRARY_PATH, the libraries need to be linked with > an install_path that starts with @rpath, and the primary entry > points into the libraries need to add LC_RPATH directives that push > @loader_path relative locations onto the @rpath search stack. Once > this has been accomplished, the built JDK will be able to launch and > find it's own linked libraries without having to rely on the > DYLD_LIBRARY_PATH environment variable. From dgreen99 at gmail.com Mon Jan 18 11:02:17 2010 From: dgreen99 at gmail.com (David Green) Date: Mon, 18 Jan 2010 11:02:17 -0800 Subject: Build errors Message-ID: <535803b01001181102t56181ce7te62901a63da6fd4b@mail.gmail.com> I'm attempting to build OpenJDK from source according to these instructions and I'm running into the following error: cc1plus: warnings being treated as errors /Users/dgreen/Documents/packages/jdk7/bsd-port/hotspot/src/share/vm/code/nmethod.cpp: In member function 'bool nmethod::make_not_entrant_or_zombie(int)': /Users/dgreen/Documents/packages/jdk7/bsd-port/hotspot/src/share/vm/code/nmethod.cpp:1197: warning: comparison between signed and unsigned integer expressions make[6]: *** [nmethod.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [the_vm] Error 2 make[4]: *** [product] Error 2 make[3]: *** [generic_build2] Error 2 make[2]: *** [product] Error 2 make[1]: *** [hotspot-build] Error 2 make: *** [build_product_image] Error 2 Any advice would be appreciated. Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100118/dc2a3b73/attachment.html From Christian.Thalinger at Sun.COM Mon Jan 18 11:13:56 2010 From: Christian.Thalinger at Sun.COM (Christian Thalinger) Date: Mon, 18 Jan 2010 20:13:56 +0100 Subject: Build errors In-Reply-To: <535803b01001181102t56181ce7te62901a63da6fd4b@mail.gmail.com> References: <535803b01001181102t56181ce7te62901a63da6fd4b@mail.gmail.com> Message-ID: <1263842036.9038.2.camel@macbook> On Mon, 2010-01-18 at 11:02 -0800, David Green wrote: > I'm attempting to build OpenJDK from source according to these > instructions and I'm running into the following error: > > > cc1plus: warnings being treated as errors > /Users/dgreen/Documents/packages/jdk7/bsd-port/hotspot/src/share/vm/code/nmethod.cpp: In member function 'bool nmethod::make_not_entrant_or_zombie(int)': > /Users/dgreen/Documents/packages/jdk7/bsd-port/hotspot/src/share/vm/code/nmethod.cpp:1197: warning: comparison between signed and unsigned integer expressions > make[6]: *** [nmethod.o] Error 1 > make[6]: *** Waiting for unfinished jobs.... > make[5]: *** [the_vm] Error 2 > make[4]: *** [product] Error 2 > make[3]: *** [generic_build2] Error 2 > make[2]: *** [product] Error 2 > make[1]: *** [hotspot-build] Error 2 > make: *** [build_product_image] Error 2 > > > Any advice would be appreciated. It's a small problem that has already been fixed: http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/b1f619d38249 It will just take some time to promote to your repository. -- Christian From stephen.bannasch at deanbrook.org Mon Jan 18 12:08:53 2010 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Mon, 18 Jan 2010 15:08:53 -0500 Subject: fyi: using iTerm COMMAND_MODE should be unix2003 Message-ID: I was getting this error re-building mlvm on MacOS 10.5.8. ld reports the following error rebuilding libjava.dylib: libfdlibm.i586.a, archive has no table of contents ar (the archive tool) was not building the catalog file for the archive because the environmental variable COMMAND_MODE was set to 'legacy'. This occurred because I recently switched from the Mac OS X Terminal program to iTerm because of iTerms much better handling ofcolored and styled fonts. Without another action COMMAND_MODElagacy when starting up a console shell on Mac OS X using iTerm. I think most people use Terminal.app in Mac OS X so aren't affected by this problem. In any case I updated my mlvm build script here: http://gist.github.com/243072 to change the COMMAND_MODE to unix2003 if it is set to legacy references: http://old.nabble.com/Why-ar-doesn't-call-ranlib-on-Mac--td22319721.html From stephen.bannasch at deanbrook.org Mon Jan 18 16:02:46 2010 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Mon, 18 Jan 2010 19:02:46 -0500 Subject: new problem: libjava.dylib: image not found -- but it is there Message-ID: My mlvm build process (http://gist.github.com/243072) now completes but when I test it by having Java display it's version there is an error because the dynamic library: libjvm.dylib fails to load. [sources]$ ./build/bsd-i586/j2sdk-image/bin/java -version Error occurred during initialization of VM Unable to load native library: dlopen(/Users/stephen/dev/java/src/bsd-port/build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib, 1): Library not loaded: libjvm.dylib Referenced from: /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib Reason: image not found But the library appears to be there: [sources]$ ls -l build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib -rwxr-xr-x 1 stephen staff 152708 Jan 18 18:49 build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib I'm wondering if there is some circular reference because of the error message -- it appears to be saying that libjava.dylib itself couldn't load libjava.dylib ??? What tools can I use to check the validity of a dylib? Thanks for any tips. From ugokanain at newsguy.com Mon Jan 18 18:39:30 2010 From: ugokanain at newsguy.com (Ugo Kanain) Date: Mon, 18 Jan 2010 20:39:30 -0600 Subject: new problem: libjava.dylib: image not found -- but it is there In-Reply-To: References: Message-ID: I have been unable to use openjdk because of the same issue. This seems to be a problem with how it was built on 10.5 (though the intel flavor seems to have been more successful than the ppc). On another thread, Mike suggests using the LC_RPATH compiler directive. Though I wasn't able to make it work. On 18 Jan 2010, at 18:02 , Stephen Bannasch wrote: > My mlvm build process (http://gist.github.com/243072) now completes > but when I test it by having Java display it's version > there is an error because the dynamic library: libjvm.dylib fails to > load. > > [sources]$ ./build/bsd-i586/j2sdk-image/bin/java -version > Error occurred during initialization of VM > Unable to load native library: > dlopen(/Users/stephen/dev/java/src/bsd-port/build/bsd-i586/j2sdk- > image/jre/lib/i386/libjava.dylib, 1): Library not loaded: > libjvm.dylib > Referenced from: /Users/stephen/dev/java/src/bsd-port/build/bsd- > i586/j2sdk-image/jre/lib/i386/libjava.dylib > Reason: image not found > > But the library appears to be there: > > [sources]$ ls -l build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib > -rwxr-xr-x 1 stephen staff 152708 Jan 18 18:49 build/bsd-i586/ > j2sdk-image/jre/lib/i386/libjava.dylib > > I'm wondering if there is some circular reference because of the > error message -- it appears to be saying that libjava.dylib > itself couldn't load libjava.dylib ??? > > What tools can I use to check the validity of a dylib? > > Thanks for any tips. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100118/2c2e6533/attachment.html From dgreen99 at gmail.com Mon Jan 18 19:22:42 2010 From: dgreen99 at gmail.com (David Green) Date: Mon, 18 Jan 2010 19:22:42 -0800 Subject: new problem: libjava.dylib: image not found -- but it is there In-Reply-To: References: Message-ID: <535803b01001181922k2e46a306g87104895d5d79e6e@mail.gmail.com> I built JDK7 today based on these instructions http://wikis.sun.com/display/OpenJDK/Darwin9Build I'm experiencing the same problem. David On Mon, Jan 18, 2010 at 6:39 PM, Ugo Kanain wrote: > I have been unable to use openjdk because of the same issue. This seems to > be a problem with how it was built on 10.5 (though the intel flavor seems to > have been more successful than the ppc). On another thread, Mike > suggests using the LC_RPATH compiler directive. Though I wasn't able to make > it work. > > > On 18 Jan 2010, at 18:02 , Stephen Bannasch wrote: > > My mlvm build process (http://gist.github.com/243072) now completes but > when I test it by having Java display it's version > there is an error because the dynamic library: libjvm.dylib fails to load. > > [sources]$ ./build/bsd-i586/j2sdk-image/bin/java -version > Error occurred during initialization of VM > Unable to load native library: > dlopen(/Users/stephen/dev/java/src/bsd-port/build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib, > 1): Library not loaded: > libjvm.dylib > Referenced from: > /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib > Reason: image not found > > But the library appears to be there: > > [sources]$ ls -l build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib > -rwxr-xr-x 1 stephen staff 152708 Jan 18 18:49 > build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib > > I'm wondering if there is some circular reference because of the error > message -- it appears to be saying that libjava.dylib > itself couldn't load libjava.dylib ??? > > What tools can I use to check the validity of a dylib? > > Thanks for any tips. > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100118/60da63f5/attachment.html From landonf at bikemonkey.org Mon Jan 18 19:54:55 2010 From: landonf at bikemonkey.org (landonf at bikemonkey.org) Date: Tue, 19 Jan 2010 03:54:55 +0000 Subject: hg: bsd-port/bsd-port/jdk: Revert changeset f66c8cc87047, returning to DYLD_LIBRARY_PATH. Message-ID: <20100119035514.5550F41C81@hg.openjdk.java.net> Changeset: 9a4b59e7d398 Author: Landon Fuller Date: 2010-01-18 19:54 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/9a4b59e7d398 Revert changeset f66c8cc87047, returning to DYLD_LIBRARY_PATH. The use of DYLD_FALLBACK_LIBRARY_PATH fixed issues when bootstrapping against OpenJDK, but introduced significant regressions and should instead be replaced with the use of @rpath/@loader_path. ! src/solaris/bin/java_md.c From stephen.bannasch at deanbrook.org Tue Jan 19 07:38:16 2010 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Tue, 19 Jan 2010 10:38:16 -0500 Subject: new problem: libjava.dylib: image not found -- but it is there In-Reply-To: <535803b01001181922k2e46a306g87104895d5d79e6e@mail.gmail.com> References: <535803b01001181922k2e46a306g87104895d5d79e6e@mail.gmail.com> Message-ID: >I built JDK7 today based on these >instructions http://wikis.sun.com/display/OpenJDK/Darwin9Build > >I'm experiencing the same problem. > One possible clue is that the libjava.dylib files itself doesn't appear to be the problem. This is the latest build I have that doesn't work: [local]$ java-1.7.0-internal-2010_01_18/bin/java -version Error occurred during initialization of VM Unable to load native library: dlopen(/usr/local/java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib, 1): Library not loaded: libjvm.dylib Referenced from: /usr/local/java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib Reason: image not found Here's a build from Dec 26 that does work: [local]$ java-1.7.0-internal-2009_12_26/bin/java -version openjdk version "1.7.0-internal" OpenJDK Runtime Environment (build 1.7.0-internal-stephen_2009_12_26_16_00-b00) OpenJDK Server VM (build 17.0-b05, mixed mode) libjava.dylib is identical: [local]$ diff java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib java-1.7.0-internal-2009_12_26/jre/lib/i386/libjava.dylib However the bin/java files differ. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100119/ca5bdd54/attachment.html From dgreen99 at gmail.com Tue Jan 19 09:04:23 2010 From: dgreen99 at gmail.com (David Green) Date: Tue, 19 Jan 2010 09:04:23 -0800 Subject: Of interest: Eclipse 3.6 on OpenJDK on Mac Message-ID: <535803b01001190904i2c12a34bye1af9b621aa69ae4@mail.gmail.com> OpenJDK users and developers may be interested to know that Eclipse 3.6 can now launch using OpenJDK on Mac OS X. Details can be found here: Eclipse 3.6 on OpenJDK on Mac OS X David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100119/975ea3e8/attachment.html From glewis at eyesbeyond.com Fri Jan 22 13:57:26 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Fri, 22 Jan 2010 21:57:26 +0000 Subject: hg: bsd-port/bsd-port: 4 new changesets Message-ID: <20100122215726.5CF7241651@hg.openjdk.java.net> Changeset: 432cbbdc44bc Author: andrew Date: 2010-01-07 23:17 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/432cbbdc44bc 6914986: Make sure openjdk doc generation not turned off with JDK_UPDATE_VERSION Summary: Only turn off documentation for updates when not building OpenJDK Reviewed-by: ohair ! make/Defs-internal.gmk Changeset: a3242906c774 Author: mikejwre Date: 2010-01-20 17:09 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/a3242906c774 Merge Changeset: 8403096d1fe7 Author: mikejwre Date: 2010-01-21 11:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/8403096d1fe7 Added tag jdk7-b80 for changeset a3242906c774 ! .hgtags Changeset: 95cac94fe180 Author: Greg Lewis Date: 2010-01-22 10:54 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/95cac94fe180 Merge from main OpenJDK repository From glewis at eyesbeyond.com Fri Jan 22 13:57:35 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Fri, 22 Jan 2010 21:57:35 +0000 Subject: hg: bsd-port/bsd-port/corba: 4 new changesets Message-ID: <20100122215740.DFB7641653@hg.openjdk.java.net> Changeset: d4c077d44a64 Author: andrew Date: 2010-01-16 01:04 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/d4c077d44a64 6917485: Corba doc warnings Summary: Fix warnings generated by javadoc Reviewed-by: darcy ! src/share/classes/com/sun/tools/corba/se/idl/constExpr/Expression.java ! src/share/classes/javax/rmi/PortableRemoteObject.java ! src/share/classes/org/omg/CORBA/SetOverrideType.java ! src/share/classes/org/omg/CORBA/TCKind.java ! src/share/classes/org/omg/CORBA/UnknownUserException.java ! src/share/classes/org/omg/CORBA/portable/ServantObject.java ! src/share/classes/org/omg/CosNaming/nameservice.idl ! src/share/classes/org/omg/PortableInterceptor/Interceptors.idl Changeset: 0336e70ca0ae Author: mikejwre Date: 2010-01-20 17:09 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/0336e70ca0ae Merge Changeset: e08a42a2a94d Author: mikejwre Date: 2010-01-21 11:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/e08a42a2a94d Added tag jdk7-b80 for changeset 0336e70ca0ae ! .hgtags Changeset: e386e8952c50 Author: Greg Lewis Date: 2010-01-22 10:54 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/e386e8952c50 Merge from main OpenJDK repository From glewis at eyesbeyond.com Fri Jan 22 13:57:54 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Fri, 22 Jan 2010 21:57:54 +0000 Subject: hg: bsd-port/bsd-port/hotspot: 35 new changesets Message-ID: <20100122215942.2AC8341655@hg.openjdk.java.net> Changeset: 40e7c1d24e4a Author: twisti Date: 2010-01-04 00:22 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/40e7c1d24e4a 6909153: Fix broken options on Zero Summary: Smaller fixes to ensure that Zero still works with non-standard options. Reviewed-by: twisti Contributed-by: Gary Benson ! src/share/vm/compiler/compileBroker.cpp ! src/share/vm/runtime/arguments.cpp Changeset: 896da934748c Author: twisti Date: 2010-01-04 03:34 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/896da934748c 6913869: Zero assert fix Summary: Zero currently won't build on zSeries or PowerPC machines with assertions turned on. Reviewed-by: twisti Contributed-by: Gary Benson ! src/share/vm/prims/jni.cpp Changeset: aa62b9388fce Author: twisti Date: 2010-01-04 15:52 +0100 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/aa62b9388fce 6894206: JVM needs a way to traverse method handle structures Summary: We need a way to walk chained method handles in the JVM to call the right methods and to generate required bytecode adapters for the compilers. Reviewed-by: kvn ! src/cpu/x86/vm/methodHandles_x86.cpp ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/javaClasses.hpp ! src/share/vm/classfile/vmSymbols.cpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/includeDB_core + src/share/vm/prims/methodHandleWalk.cpp + src/share/vm/prims/methodHandleWalk.hpp Changeset: 0910903272e5 Author: twisti Date: 2010-01-04 07:04 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/0910903272e5 Merge Changeset: e66fd840cb6b Author: twisti Date: 2010-01-04 18:38 +0100 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/e66fd840cb6b 6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164) Summary: During the work for 6829187 we have fixed a number of basic bugs which are logically grouped with 6815692 and 6858164 but which must be reviewed and pushed separately. Reviewed-by: kvn, never ! src/cpu/x86/vm/frame_x86.cpp ! src/cpu/x86/vm/methodHandles_x86.cpp ! src/cpu/x86/vm/runtime_x86_32.cpp ! src/cpu/x86/vm/sharedRuntime_x86_64.cpp ! src/cpu/x86/vm/templateInterpreter_x86_32.cpp ! src/cpu/x86/vm/templateInterpreter_x86_64.cpp ! src/share/vm/c1/c1_IR.hpp ! src/share/vm/ci/ciStreams.cpp ! src/share/vm/classfile/javaClasses.hpp ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/classfile/systemDictionary.hpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/code/codeBlob.hpp ! src/share/vm/code/debugInfoRec.cpp ! src/share/vm/code/debugInfoRec.hpp ! src/share/vm/code/nmethod.cpp ! src/share/vm/code/nmethod.hpp ! src/share/vm/code/pcDesc.hpp ! src/share/vm/compiler/methodLiveness.cpp ! src/share/vm/interpreter/bytecode.cpp ! src/share/vm/interpreter/bytecode.hpp ! src/share/vm/interpreter/bytecodes.cpp ! src/share/vm/interpreter/interpreter.cpp ! src/share/vm/interpreter/linkResolver.cpp ! src/share/vm/interpreter/linkResolver.hpp ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/output.cpp ! src/share/vm/opto/runtime.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/sharedRuntime.cpp ! src/share/vm/runtime/thread.cpp ! src/share/vm/runtime/thread.hpp Changeset: 4b84186a8248 Author: kvn Date: 2010-01-04 15:21 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/4b84186a8248 6913075: EA identifies escape state incorrectly after 6895383 fix Summary: EA incorrectly identifies escape state of an allocation passed as call argument. Reviewed-by: never ! src/share/vm/opto/escape.cpp Changeset: 97125851f396 Author: twisti Date: 2010-01-05 13:05 +0100 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/97125851f396 6829187: compiler optimizations required for JSR 292 Summary: C2 implementation for invokedynamic support. Reviewed-by: kvn, never ! src/cpu/sparc/vm/sparc.ad ! src/cpu/x86/vm/frame_x86.inline.hpp ! src/cpu/x86/vm/x86_32.ad ! src/cpu/x86/vm/x86_64.ad + src/share/vm/ci/ciCPCache.cpp + src/share/vm/ci/ciCPCache.hpp ! src/share/vm/ci/ciClassList.hpp ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/ci/ciEnv.hpp ! src/share/vm/ci/ciMethod.cpp ! src/share/vm/ci/ciMethod.hpp ! src/share/vm/ci/ciObject.hpp ! src/share/vm/ci/ciObjectFactory.cpp ! src/share/vm/ci/ciStreams.cpp ! src/share/vm/ci/ciStreams.hpp ! src/share/vm/ci/ciTypeFlow.cpp ! src/share/vm/includeDB_compiler2 ! src/share/vm/includeDB_core ! src/share/vm/opto/bytecodeInfo.cpp ! src/share/vm/opto/callGenerator.cpp ! src/share/vm/opto/callGenerator.hpp ! src/share/vm/opto/callnode.hpp ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/lcm.cpp ! src/share/vm/opto/machnode.cpp ! src/share/vm/opto/machnode.hpp ! src/share/vm/opto/matcher.cpp ! src/share/vm/opto/matcher.hpp ! src/share/vm/opto/output.cpp ! src/share/vm/opto/type.cpp Changeset: dd57230ba8fe Author: twisti Date: 2010-01-05 15:21 +0100 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/dd57230ba8fe 6893268: additional dynamic language related optimizations in C2 Summary: C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance. Reviewed-by: kvn, never ! src/share/vm/ci/ciCPCache.cpp + src/share/vm/ci/ciCallSite.cpp + src/share/vm/ci/ciCallSite.hpp ! src/share/vm/ci/ciClassList.hpp ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/ci/ciEnv.hpp ! src/share/vm/ci/ciExceptionHandler.cpp ! src/share/vm/ci/ciField.cpp ! src/share/vm/ci/ciField.hpp ! src/share/vm/ci/ciInstanceKlass.cpp ! src/share/vm/ci/ciInstanceKlass.hpp ! src/share/vm/ci/ciKlass.cpp ! src/share/vm/ci/ciKlass.hpp ! src/share/vm/ci/ciMethod.hpp + src/share/vm/ci/ciMethodHandle.cpp + src/share/vm/ci/ciMethodHandle.hpp ! src/share/vm/ci/ciObject.hpp ! src/share/vm/ci/ciObjectFactory.cpp ! src/share/vm/ci/ciStreams.cpp ! src/share/vm/ci/ciStreams.hpp ! src/share/vm/ci/ciSymbol.cpp ! src/share/vm/ci/ciSymbol.hpp ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/classfile/vmSymbols.cpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/code/nmethod.cpp ! src/share/vm/includeDB_compiler2 ! src/share/vm/includeDB_core ! src/share/vm/interpreter/bytecode.hpp ! src/share/vm/interpreter/bytecodeTracer.cpp ! src/share/vm/interpreter/interpreterRuntime.cpp ! src/share/vm/interpreter/rewriter.cpp ! src/share/vm/interpreter/rewriter.hpp ! src/share/vm/oops/constMethodOop.hpp ! src/share/vm/oops/constantPoolOop.hpp ! src/share/vm/oops/generateOopMap.cpp ! src/share/vm/oops/methodOop.hpp ! src/share/vm/oops/symbolOop.cpp ! src/share/vm/oops/symbolOop.hpp ! src/share/vm/opto/bytecodeInfo.cpp ! src/share/vm/opto/callGenerator.cpp ! src/share/vm/opto/callGenerator.hpp ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/parse3.cpp ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandleWalk.hpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/runtime/frame.cpp ! src/share/vm/runtime/frame.hpp ! src/share/vm/runtime/sharedRuntime.cpp ! src/share/vm/runtime/sharedRuntime.hpp ! src/share/vm/utilities/constantTag.hpp Changeset: b6f06e395428 Author: never Date: 2010-01-05 11:14 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/b6f06e395428 6908267: Zero fails to unlock synchronized native methods on exception Reviewed-by: never Contributed-by: Gary Benson ! src/cpu/zero/vm/cppInterpreter_zero.cpp Changeset: 1f6d42899c3a Author: never Date: 2010-01-05 11:16 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1f6d42899c3a Merge Changeset: b1f619d38249 Author: never Date: 2010-01-05 16:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/b1f619d38249 6914002: unsigned compare problem after 5057818 Reviewed-by: kvn, twisti ! src/share/vm/code/nmethod.cpp ! src/share/vm/code/nmethod.hpp Changeset: 4ce7240d622c Author: never Date: 2010-01-06 14:22 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/4ce7240d622c 6914300: ciEnv should export all well known classes Reviewed-by: kvn, twisti ! agent/src/share/classes/sun/jvm/hotspot/memory/SystemDictionary.java ! src/share/vm/c1/c1_Runtime1.cpp ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/ci/ciEnv.hpp ! src/share/vm/ci/ciField.cpp ! src/share/vm/ci/ciInstance.cpp ! src/share/vm/ci/ciInstanceKlass.cpp ! src/share/vm/ci/ciObjectFactory.cpp ! src/share/vm/ci/ciType.cpp ! src/share/vm/ci/ciUtilities.hpp ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/classfile/classLoader.cpp ! src/share/vm/classfile/javaAssertions.cpp ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/javaClasses.hpp ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/classfile/systemDictionary.hpp ! src/share/vm/classfile/verifier.cpp ! src/share/vm/gc_interface/collectedHeap.cpp ! src/share/vm/interpreter/interpreterRuntime.cpp ! src/share/vm/interpreter/linkResolver.cpp ! src/share/vm/memory/classify.cpp ! src/share/vm/memory/dump.cpp ! src/share/vm/memory/referenceProcessor.cpp ! src/share/vm/memory/space.cpp ! src/share/vm/memory/universe.cpp ! src/share/vm/oops/arrayKlass.cpp ! src/share/vm/oops/arrayKlass.hpp ! src/share/vm/oops/constantPoolOop.cpp ! src/share/vm/oops/instanceKlass.cpp ! src/share/vm/oops/instanceRefKlass.cpp ! src/share/vm/oops/klass.cpp ! src/share/vm/oops/methodOop.cpp ! src/share/vm/oops/objArrayKlass.cpp ! src/share/vm/oops/objArrayKlassKlass.cpp ! src/share/vm/opto/runtime.cpp ! src/share/vm/prims/jni.cpp ! src/share/vm/prims/jniCheck.cpp ! src/share/vm/prims/jvm.cpp ! src/share/vm/prims/jvmtiEnter.xsl ! src/share/vm/prims/jvmtiEnv.cpp ! src/share/vm/prims/jvmtiEnvBase.cpp ! src/share/vm/prims/jvmtiExport.cpp ! src/share/vm/prims/jvmtiRedefineClasses.cpp ! src/share/vm/prims/jvmtiTagMap.cpp ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/prims/nativeLookup.cpp ! src/share/vm/runtime/jniHandles.cpp ! src/share/vm/runtime/os.cpp ! src/share/vm/runtime/reflection.cpp ! src/share/vm/runtime/reflectionUtils.cpp ! src/share/vm/runtime/sharedRuntime.cpp ! src/share/vm/runtime/statSampler.cpp ! src/share/vm/runtime/thread.cpp ! src/share/vm/runtime/vframe.cpp ! src/share/vm/runtime/vmStructs.cpp ! src/share/vm/services/attachListener.cpp ! src/share/vm/services/heapDumper.cpp ! src/share/vm/services/lowMemoryDetector.cpp ! src/share/vm/services/management.cpp ! src/share/vm/services/serviceUtil.hpp ! src/share/vm/services/threadService.cpp ! src/share/vm/utilities/exceptions.cpp Changeset: aad340e07bc4 Author: never Date: 2010-01-06 14:25 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/aad340e07bc4 Merge Changeset: 9b9c1ee9b3f6 Author: iveresov Date: 2010-01-06 22:21 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/9b9c1ee9b3f6 Merge ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/memory/referenceProcessor.cpp ! src/share/vm/oops/instanceKlass.cpp ! src/share/vm/oops/instanceRefKlass.cpp ! src/share/vm/prims/jvm.cpp ! src/share/vm/prims/jvmtiEnv.cpp ! src/share/vm/prims/jvmtiEnvBase.cpp ! src/share/vm/prims/jvmtiExport.cpp ! src/share/vm/runtime/frame.cpp ! src/share/vm/runtime/thread.cpp ! src/share/vm/runtime/thread.hpp ! src/share/vm/runtime/vmStructs.cpp Changeset: e018e6884bd8 Author: ysr Date: 2009-12-23 09:23 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/e018e6884bd8 6631166: CMS: better heuristics when combatting fragmentation Summary: Autonomic per-worker free block cache sizing, tunable coalition policies, fixes to per-size block statistics, retuned gain and bandwidth of some feedback loop filters to allow quicker reactivity to abrupt changes in ambient demand, and other heuristics to reduce fragmentation of the CMS old gen. Also tightened some assertions, including those related to locking. Reviewed-by: jmasa ! src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/cmsLockVerifier.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/freeList.hpp ! src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep ! src/share/vm/gc_implementation/includeDB_gc_serial ! src/share/vm/gc_implementation/parNew/parNewGeneration.cpp ! src/share/vm/gc_implementation/parNew/parNewGeneration.hpp ! src/share/vm/gc_implementation/shared/allocationStats.hpp ! src/share/vm/gc_implementation/shared/gcUtil.cpp ! src/share/vm/gc_implementation/shared/gcUtil.hpp ! src/share/vm/includeDB_gc_parallel ! src/share/vm/memory/defNewGeneration.cpp ! src/share/vm/memory/generation.hpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/services/classLoadingService.cpp Changeset: 504830073409 Author: jmasa Date: 2010-01-04 07:58 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/504830073409 Merge ! src/share/vm/runtime/globals.hpp Changeset: 75bd253e25dd Author: ysr Date: 2010-01-04 14:51 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/75bd253e25dd 6637203: Classunloading messages go to stdout rather than Xloggc file, causing hangs when stdout is closed Summary: Decoupled TraceClassUnloading from verbose:gc, JVMTI_VERBOSE_GC and PrintGC[Details], making it settable in a manner identical to TraceClassLoading. Reverted an inadvertent change of TraceClassUnloading output in a previous changeset from gclog back to tty. Reviewed-by: coleenp, dholmes, jmasa, poonam ! src/share/vm/prims/jvmtiEnv.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/services/classLoadingService.cpp Changeset: 05b775309e59 Author: jmasa Date: 2010-01-07 08:14 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/05b775309e59 6912018: CMS: guarantee(head() != 0,"The head of the list cannot be NULL") Summary: Block too small to split was not correctly putback to free lists. Reviewed-by: ysr ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp Changeset: 0579c695832f Author: ysr Date: 2010-01-09 09:01 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/0579c695832f Merge ! src/share/vm/prims/jvmtiEnv.cpp ! src/share/vm/runtime/arguments.cpp Changeset: f62a22282a47 Author: kvn Date: 2010-01-07 16:24 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/f62a22282a47 6914622: Print values of all flags for product VM Summary: Change the flag -XX:+PrintFlagsFinal to product and add new product flag -XX:+PrintFlagsInitial. Reviewed-by: phh, ysr Contributed-by: gbenson at redhat.com ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.cpp ! src/share/vm/runtime/globals.hpp Changeset: 1271af4ec18c Author: kvn Date: 2010-01-07 16:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1271af4ec18c 6912517: JIT bug compiles out (and stops running) code that needs to be run. Causes NPE. Summary: Add missing check that value is used in memory expression in instructions with embedded load. Reviewed-by: never, jrose ! src/share/vm/opto/lcm.cpp + test/compiler/6912517/Test.java Changeset: cd37471eaecc Author: twisti Date: 2010-01-08 11:09 +0100 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/cd37471eaecc 6914206: change way of permission checking for generated MethodHandle adapters Summary: Put generated MH adapter in InvokeDynamic/MethodHandle classes to be able to indentify them easily in the compiler. Reviewed-by: kvn, never, jrose ! src/share/vm/ci/ciMethod.cpp ! src/share/vm/ci/ciMethod.hpp ! src/share/vm/classfile/systemDictionary.hpp ! src/share/vm/includeDB_core ! src/share/vm/oops/methodOop.cpp ! src/share/vm/oops/methodOop.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandleWalk.hpp ! src/share/vm/runtime/reflection.cpp ! src/share/vm/runtime/vframe.cpp Changeset: bea7a22a6f79 Author: kvn Date: 2010-01-08 09:42 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/bea7a22a6f79 6915110: IfNode::up_one_dom moves beyond RootNode bug in src/share/vm/opto/ifnode.cpp Summary: Check RootNode before check Loop in IfNode::up_one_dom(). Reviewed-by: never Contributed-by: kevin.brown at sun.com ! src/share/vm/opto/ifnode.cpp Changeset: 174ade00803b Author: kvn Date: 2010-01-08 09:51 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/174ade00803b 6910484: incorrect integer optimization (loosing and op-r in a given example) Summary: Remove AND operation only if mask is equal to shift. Reviewed-by: never ! src/share/vm/opto/divnode.cpp + test/compiler/6910484/Test.java Changeset: 4e6abf09f540 Author: jrose Date: 2010-01-08 13:47 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/4e6abf09f540 6912062: disassembler plugin needs to produce symbolic information in product mode Summary: More informative disassembly in product mode. Also, a more consistent CompileCommand syntax. Reviewed-by: never ! src/share/vm/code/codeBlob.hpp ! src/share/vm/code/nmethod.cpp ! src/share/vm/code/nmethod.hpp ! src/share/vm/compiler/compilerOracle.cpp ! src/share/vm/compiler/disassembler.cpp ! src/share/vm/includeDB_core ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/oops/arrayKlassKlass.cpp ! src/share/vm/oops/arrayKlassKlass.hpp ! src/share/vm/oops/compiledICHolderKlass.cpp ! src/share/vm/oops/compiledICHolderKlass.hpp ! src/share/vm/oops/constMethodKlass.cpp ! src/share/vm/oops/constMethodKlass.hpp ! src/share/vm/oops/constantPoolKlass.cpp ! src/share/vm/oops/constantPoolKlass.hpp ! src/share/vm/oops/cpCacheKlass.cpp ! src/share/vm/oops/cpCacheKlass.hpp ! src/share/vm/oops/instanceKlass.cpp ! src/share/vm/oops/instanceKlass.hpp ! src/share/vm/oops/instanceKlassKlass.cpp ! src/share/vm/oops/instanceKlassKlass.hpp ! src/share/vm/oops/klass.cpp ! src/share/vm/oops/klass.hpp ! src/share/vm/oops/klassKlass.cpp ! src/share/vm/oops/klassKlass.hpp ! src/share/vm/oops/methodDataKlass.cpp ! src/share/vm/oops/methodDataKlass.hpp ! src/share/vm/oops/methodKlass.cpp ! src/share/vm/oops/methodKlass.hpp ! src/share/vm/oops/objArrayKlass.cpp ! src/share/vm/oops/objArrayKlass.hpp ! src/share/vm/oops/objArrayKlassKlass.cpp ! src/share/vm/oops/objArrayKlassKlass.hpp ! src/share/vm/oops/oop.cpp ! src/share/vm/oops/symbolKlass.cpp ! src/share/vm/oops/symbolKlass.hpp ! src/share/vm/oops/typeArrayKlassKlass.cpp ! src/share/vm/oops/typeArrayKlassKlass.hpp ! src/share/vm/runtime/arguments.cpp Changeset: 136ac23d6ded Author: jrose Date: 2010-01-08 15:17 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/136ac23d6ded Merge Changeset: c3b315a0d58a Author: jrose Date: 2010-01-08 13:58 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/c3b315a0d58a 6912063: inlining parameters need to be adjusted for some uses of the JVM Summary: Put all inline-related switches into product mode, to allow tuning by dynamic language implementors. Reviewed-by: twisti, kvn ! src/share/vm/opto/bytecodeInfo.cpp ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/parse.hpp ! src/share/vm/runtime/globals.hpp Changeset: f2e64cfc2020 Author: jrose Date: 2010-01-08 18:27 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/f2e64cfc2020 Merge Changeset: 5b06c5db3e89 Author: jrose Date: 2010-01-08 22:02 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/5b06c5db3e89 Merge Changeset: f24201449cac Author: never Date: 2010-01-09 00:59 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/f24201449cac 6909839: missing unsigned compare cases for some cmoves in sparc.ad Reviewed-by: kvn, jrose ! src/cpu/sparc/vm/sparc.ad + test/compiler/6909839/Test6909839.java Changeset: 1fc01a2425ce Author: iveresov Date: 2010-01-12 13:54 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1fc01a2425ce Merge ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp Changeset: d749b1813f40 Author: trims Date: 2010-01-15 14:25 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/d749b1813f40 Merge Changeset: 3003ddd1d433 Author: trims Date: 2010-01-15 14:28 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/3003ddd1d433 6917463: Bump the HS17 build number to 07 Summary: Update the HS17 build number to 07 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 359445e739ac Author: mikejwre Date: 2010-01-21 11:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/359445e739ac Added tag jdk7-b80 for changeset 3003ddd1d433 ! .hgtags Changeset: ab2b37e6a93e Author: Greg Lewis Date: 2010-01-22 10:55 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/ab2b37e6a93e Merge from main OpenJDK repository ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/includeDB_compiler2 ! src/share/vm/includeDB_core ! src/share/vm/interpreter/bytecodeTracer.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/os.cpp From glewis at eyesbeyond.com Fri Jan 22 13:59:48 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Fri, 22 Jan 2010 21:59:48 +0000 Subject: hg: bsd-port/bsd-port/jaxp: 2 new changesets Message-ID: <20100122215948.2278141657@hg.openjdk.java.net> Changeset: 204e59d488cd Author: mikejwre Date: 2010-01-21 11:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/204e59d488cd Added tag jdk7-b80 for changeset 9219574db593 ! .hgtags Changeset: 6183e2c1b665 Author: Greg Lewis Date: 2010-01-22 10:55 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/6183e2c1b665 Merge from main OpenJDK repository From glewis at eyesbeyond.com Fri Jan 22 13:59:53 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Fri, 22 Jan 2010 21:59:53 +0000 Subject: hg: bsd-port/bsd-port/jaxws: 2 new changesets Message-ID: <20100122215953.E656341659@hg.openjdk.java.net> Changeset: f051045fe94a Author: mikejwre Date: 2010-01-21 11:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/f051045fe94a Added tag jdk7-b80 for changeset 447767dee56a ! .hgtags Changeset: a50238ce2abd Author: Greg Lewis Date: 2010-01-22 10:55 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/a50238ce2abd Merge from main OpenJDK repository From glewis at eyesbeyond.com Fri Jan 22 14:00:05 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Fri, 22 Jan 2010 22:00:05 +0000 Subject: hg: bsd-port/bsd-port/jdk: 27 new changesets Message-ID: <20100122220835.F3EB041663@hg.openjdk.java.net> Changeset: 9956e8d71e06 Author: tbell Date: 2009-12-18 09:40 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/9956e8d71e06 6899737: JDK build fails in make/java/jli because of _vsnprintf macro redefinition Summary: Use stdio.h instead when building with Visual Studio 2008 or later Reviewed-by: art, ohair ! src/share/native/java/util/zip/zlib-1.2.3/zutil.h Changeset: 39b9564ff01c Author: ohair Date: 2010-01-05 15:17 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/39b9564ff01c Merge Changeset: 447c9e535234 Author: ohair Date: 2010-01-13 15:37 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/447c9e535234 Merge Changeset: e0905e36766a Author: yhuang Date: 2009-12-06 22:18 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/e0905e36766a 6868106: Ukrainian currency has wrong format Reviewed-by: yhuang, peytoia ! src/share/classes/sun/text/resources/FormatData_uk.java ! src/share/classes/sun/util/resources/CurrencyNames_uk_UA.properties ! test/sun/text/resources/LocaleData Changeset: d9080b33ba74 Author: yhuang Date: 2009-12-08 21:14 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/d9080b33ba74 6610748: Dateformat - AM-PM indicator in Finnish appears to be from English Reviewed-by: yhuang, peytoia ! src/share/classes/sun/text/resources/FormatData_fi.java ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: ac9e284db030 Author: yhuang Date: 2009-12-08 21:19 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/ac9e284db030 6645271: Wrong date format for Croatian (hr) locale Reviewed-by: yhuang, peytoia ! src/share/classes/sun/text/resources/FormatData_hr_HR.java Changeset: 3ab178316aa0 Author: yhuang Date: 2009-12-08 21:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/3ab178316aa0 6609737: DateFormat incorrect for German locale Reviewed-by: yhuang, peytoia ! src/share/classes/sun/text/resources/FormatData_de.java ! src/share/classes/sun/util/resources/TimeZoneNames_de.java Changeset: 4910b580a725 Author: yhuang Date: 2009-12-08 21:30 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/4910b580a725 6507067: TimeZone country/area message error Reviewed-by: peytoia ! src/share/classes/sun/util/resources/TimeZoneNames_zh_TW.java Changeset: 06df47459ecf Author: yhuang Date: 2009-12-10 17:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/06df47459ecf 6873931: New Turkish currency since 2009 Reviewed-by: yhuang, peytoia ! src/share/classes/sun/util/resources/CurrencyNames_tr_TR.properties ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: ddc4a80f25f4 Author: yhuang Date: 2009-12-17 02:00 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/ddc4a80f25f4 6450945: The week day for Saturday and the first week day in Romania locale are incorrect Reviewed-by: yhuang, peytoia ! src/share/classes/sun/text/resources/FormatData_ro.java ! src/share/classes/sun/util/resources/CalendarData_ro.properties ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: cd5d46887546 Author: yhuang Date: 2009-12-17 02:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/cd5d46887546 6645268: Country/language names with locale fi_FI are incorrect for FRANCE/FRENCH Reviewed-by: yhuang, peytoia ! src/share/classes/sun/util/resources/LocaleNames_fi.properties ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java ! test/sun/util/resources/Locale/Bug4429024.java Changeset: 946a0a09a477 Author: yhuang Date: 2009-12-17 02:28 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/946a0a09a477 6646611: Incorrect spelling of month name in locale for Belarusian language ("be", "BY") Reviewed-by: yhuang, peytoia ! src/share/classes/sun/text/resources/FormatData_be.java ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: e8fa2b2cb1e8 Author: yhuang Date: 2009-12-17 22:24 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/e8fa2b2cb1e8 6650730: Lithuanian locale date and number formats mismatch. Reviewed-by: yhuang, peytoia ! src/share/classes/sun/text/resources/FormatData_lt.java ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: e9b09f76d281 Author: yhuang Date: 2009-12-17 22:25 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/e9b09f76d281 6645405: Errors in Hungarian local-specific formatting. (L10N part of 6609703) Reviewed-by: yhuang, peytoia ! src/share/classes/sun/text/resources/FormatData_hu_HU.java Changeset: 3b78f3769688 Author: yhuang Date: 2009-12-20 19:31 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/3b78f3769688 6910489: Slovenia Locale, wrong firstDayOfWeek number Reviewed-by: yhuang, peytoia ! src/share/classes/sun/util/resources/CalendarData_sl.properties ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: b09e582d09bd Author: yhuang Date: 2009-12-20 19:49 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/b09e582d09bd 6573250: Java.util.Currency.getSymbol(Locale) returns wrong value when locale is not US. Reviewed-by: yhuang, peytoia ! src/share/classes/sun/util/resources/CurrencyNames_en_CA.properties ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: 7bf839e2e9ce Author: yhuang Date: 2009-12-24 15:37 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/7bf839e2e9ce 6870908: reopen bug 4244752: month names in Estonian should be lowercase Reviewed-by: yhuang, peytoia ! src/share/classes/sun/text/resources/FormatData_et.java ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: 1397ae8dc558 Author: yhuang Date: 2009-12-24 16:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/1397ae8dc558 6541350: TimeZone display names localization Reviewed-by: yhuang, peytoia ! src/share/classes/sun/util/resources/TimeZoneNames_de.java ! src/share/classes/sun/util/resources/TimeZoneNames_es.java ! src/share/classes/sun/util/resources/TimeZoneNames_fr.java ! src/share/classes/sun/util/resources/TimeZoneNames_it.java ! src/share/classes/sun/util/resources/TimeZoneNames_ja.java ! src/share/classes/sun/util/resources/TimeZoneNames_ko.java ! src/share/classes/sun/util/resources/TimeZoneNames_sv.java ! src/share/classes/sun/util/resources/TimeZoneNames_zh_CN.java ! src/share/classes/sun/util/resources/TimeZoneNames_zh_TW.java Changeset: 2886607f8bc3 Author: yhuang Date: 2009-12-28 14:58 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/2886607f8bc3 6585666: Spanish language names not compliant with CLDR Reviewed-by: yhuang, peytoia ! src/share/classes/sun/util/resources/LocaleNames_es.properties ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: 5ec5337c0298 Author: yhuang Date: 2010-01-05 18:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/5ec5337c0298 6716626: Integrate contributed language and country names for NL Reviewed-by: yhuang, peytoia ! src/share/classes/sun/util/resources/LocaleNames_nl.properties ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: 8bf6b2173e9f Author: yhuang Date: 2010-01-06 17:52 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/8bf6b2173e9f 6914413: abbreviation name for November is not correct in be_BY Reviewed-by: yhuang, peytoia ! src/share/classes/sun/text/resources/FormatData_be.java ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: eea1cc096889 Author: yhuang Date: 2010-01-06 19:32 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/eea1cc096889 6821191: Timezone display name localization Reviewed-by: yhuang, ogino ! src/share/classes/sun/util/resources/TimeZoneNames_de.java ! src/share/classes/sun/util/resources/TimeZoneNames_es.java ! src/share/classes/sun/util/resources/TimeZoneNames_fr.java ! src/share/classes/sun/util/resources/TimeZoneNames_it.java ! src/share/classes/sun/util/resources/TimeZoneNames_ja.java ! src/share/classes/sun/util/resources/TimeZoneNames_ko.java ! src/share/classes/sun/util/resources/TimeZoneNames_sv.java ! src/share/classes/sun/util/resources/TimeZoneNames_zh_CN.java ! src/share/classes/sun/util/resources/TimeZoneNames_zh_TW.java Changeset: eff93f451501 Author: yhuang Date: 2010-01-11 23:25 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/eff93f451501 Merge - make/tools/CharsetMapping/DoubleByte-X.java - make/tools/CharsetMapping/SingleByte-X.java - src/share/classes/javax/swing/plaf/synth/DefaultMenuLayout.java - src/share/classes/sun/awt/ComponentAccessor.java - src/share/classes/sun/awt/WindowAccessor.java - src/share/classes/sun/security/provider/IdentityDatabase.java - src/share/classes/sun/security/provider/SystemIdentity.java - src/share/classes/sun/security/provider/SystemSigner.java - src/share/classes/sun/security/x509/X500Signer.java - src/share/classes/sun/security/x509/X509Cert.java - src/share/classes/sun/swing/plaf/synth/SynthUI.java - src/share/classes/sun/tools/jar/JarVerifierStream.java - src/share/classes/sun/util/CoreResourceBundleControl-XLocales.java - src/share/classes/sun/util/LocaleDataMetaInfo-XLocales.java - test/java/util/Formatter/Basic-X.java - test/sun/tools/native2ascii/test2 - test/tools/launcher/SolarisDataModel.sh - test/tools/launcher/SolarisRunpath.sh - test/tools/launcher/libraryCaller.c - test/tools/launcher/libraryCaller.h - test/tools/launcher/libraryCaller.java Changeset: d91c6bdcc852 Author: yhuang Date: 2010-01-17 18:42 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/d91c6bdcc852 Merge Changeset: 049cfaaa9a73 Author: mikejwre Date: 2010-01-20 17:11 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/049cfaaa9a73 Merge Changeset: 15815a54d930 Author: mikejwre Date: 2010-01-21 11:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/15815a54d930 Added tag jdk7-b80 for changeset 049cfaaa9a73 ! .hgtags Changeset: 2480505b93cf Author: Greg Lewis Date: 2010-01-22 10:55 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/2480505b93cf Merge from main OpenJDK repository From glewis at eyesbeyond.com Fri Jan 22 14:08:41 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Fri, 22 Jan 2010 22:08:41 +0000 Subject: hg: bsd-port/bsd-port/langtools: 2 new changesets Message-ID: <20100122220847.6B1B841665@hg.openjdk.java.net> Changeset: 250a580ab046 Author: mikejwre Date: 2010-01-21 11:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/250a580ab046 Added tag jdk7-b80 for changeset f0074aa48d4e ! .hgtags Changeset: ab667b28b35f Author: Greg Lewis Date: 2010-01-22 10:55 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/ab667b28b35f Merge from main OpenJDK repository From John.Rose at Sun.COM Fri Jan 22 14:20:51 2010 From: John.Rose at Sun.COM (John Rose) Date: Fri, 22 Jan 2010 14:20:51 -0800 Subject: hg: bsd-port/bsd-port/hotspot: 35 new changesets In-Reply-To: <20100122215942.2AC8341655@hg.openjdk.java.net> References: <20100122215942.2AC8341655@hg.openjdk.java.net> Message-ID: <18FF84E2-A2BF-441B-BF0C-69BA3CC27FB1@sun.com> Wow, thanks for the timely merge-up, Greg. This will let us immediately retire a bunch of Da Vinci Machine patches. -- John From glewis at eyesbeyond.com Fri Jan 22 21:51:24 2010 From: glewis at eyesbeyond.com (Greg Lewis) Date: Fri, 22 Jan 2010 21:51:24 -0800 Subject: Build errors In-Reply-To: <1263842036.9038.2.camel@macbook> References: <535803b01001181102t56181ce7te62901a63da6fd4b@mail.gmail.com> <1263842036.9038.2.camel@macbook> Message-ID: <20100123055124.GA2948@misty.eyesbeyond.com> On Mon, Jan 18, 2010 at 08:13:56PM +0100, Christian Thalinger wrote: > On Mon, 2010-01-18 at 11:02 -0800, David Green wrote: > > I'm attempting to build OpenJDK from source according to these > > instructions and I'm running into the following error: > > > > > > cc1plus: warnings being treated as errors > > /Users/dgreen/Documents/packages/jdk7/bsd-port/hotspot/src/share/vm/code/nmethod.cpp: In member function 'bool nmethod::make_not_entrant_or_zombie(int)': > > /Users/dgreen/Documents/packages/jdk7/bsd-port/hotspot/src/share/vm/code/nmethod.cpp:1197: warning: comparison between signed and unsigned integer expressions > > make[6]: *** [nmethod.o] Error 1 > > make[6]: *** Waiting for unfinished jobs.... > > make[5]: *** [the_vm] Error 2 > > make[4]: *** [product] Error 2 > > make[3]: *** [generic_build2] Error 2 > > make[2]: *** [product] Error 2 > > make[1]: *** [hotspot-build] Error 2 > > make: *** [build_product_image] Error 2 > > > > > > Any advice would be appreciated. > > It's a small problem that has already been fixed: > > http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/b1f619d38249 > > It will just take some time to promote to your repository. I've merged build 80, so this should be fixed. -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From glewis at eyesbeyond.com Fri Jan 22 21:53:34 2010 From: glewis at eyesbeyond.com (Greg Lewis) Date: Fri, 22 Jan 2010 21:53:34 -0800 Subject: hg: bsd-port/bsd-port/hotspot: 35 new changesets In-Reply-To: <18FF84E2-A2BF-441B-BF0C-69BA3CC27FB1@sun.com> References: <20100122215942.2AC8341655@hg.openjdk.java.net> <18FF84E2-A2BF-441B-BF0C-69BA3CC27FB1@sun.com> Message-ID: <20100123055334.GB2948@misty.eyesbeyond.com> On Fri, Jan 22, 2010 at 02:20:51PM -0800, John Rose wrote: > Wow, thanks for the timely merge-up, Greg. This will let us immediately retire a bunch of Da Vinci Machine patches. -- John No worries. I have a script that speeds things up if the merge is simple, which this one was. -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From ugokanain at newsguy.com Sat Jan 23 20:17:19 2010 From: ugokanain at newsguy.com (Ugo Kanain) Date: Sat, 23 Jan 2010 22:17:19 -0600 Subject: Compiled again, new error and not compiling Message-ID: Just dled a clean copy. However, it is still giving an error and didn't finish compiling correctly (i. e. no bin files). This is the output of the terminal: Linking launcher... Making signal interposition lib... /usr/bin/gcc -m32 -dynamiclib -fPIC -fPIC \ -D_GNU_SOURCE -pthread -o libjsig.dylib ~/ bsd-port/hotspot/src/os/bsd/vm/jsig.c ~/bsd-port/hotspot/src/os/bsd/vm/jsig.c:39:1: warning: "bool" redefined In file included from /usr/include/dlfcn.h:40, from ~/bsd-port/hotspot/src/os/bsd/vm/jsig.c:34: /usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/stdbool.h:36:1: warning: this is the location of the previous definition [ -f libjsig.dylib ] || { ln -s libjsig.dylib libjsig.dylib; } if [ -d ~/bsd-port/hotspot/agent -a "zero" != "ia64" -a "zero" != "zero" ] ; then \ make -f vm.make libsaproc.dylib; \ fi All done. cd bsd_ppc_zero/product && ./test_gamma openjdk full version "1.7.0-internal-landonf_2009_12_16_12_54-b00" # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (os_bsd_zero.cpp:250), pid=42751, tid=2694170656 # Error: ShouldNotCall() # # JRE version: 7.0 # Java VM: OpenJDK Zero VM (17.0-b07 interpreted mode, sharing bsd-ppc ) # An error report file with more information is saved as: # ~/bsd-port/build/bsd-ppc/hotspot/outputdir/bsd_ppc_zero/product/ hs_err_pid42751.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # ./test_gamma: line 12: 42751 Abort trap ./${gamma:-gamma} -Xbatch -showversion Queens < /dev/null make[4]: *** [productzero] Error 134 make[3]: *** [generic_buildzero] Error 2 make[2]: *** [productzero] Error 2 make[1]: *** [hotspot-build] Error 2 make: *** [build_product_image] Error 2 This is the content of the hs_err_pid42751.log: # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (os_bsd_zero.cpp:250), pid=42751, tid=2694170656 # Error: ShouldNotCall() # # JRE version: 7.0 # Java VM: OpenJDK Zero VM (17.0-b07 interpreted mode, sharing bsd-ppc ) # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp [error occurred during error reporting (printing bug submit message), id 0xa] --------------- T H R E A D --------------- Current thread (0x00000002): [error occurred during error reporting (printing current thread), id 0xa] Stack: [error occurred during error reporting (printing stack bounds), id 0xa] [error occurred during error reporting (printing Java stack), id 0xa] [error occurred during error reporting (printing target Java thread stack), id 0xa] [error occurred during error reporting (printing VM operation), id 0xa] [error occurred during error reporting (printing current compile task), id 0xa] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) Other Threads: =>0x00000002 (exited) [error occurred during error reporting (printing all threads), id 0xa] VM state:not at safepoint (not fully initialized) VM Mutex/Monitor currently owned by a thread: None Dynamic libraries: 0x0050f000 ~/bsd-port/build/bsd-ppc/hotspot/outputdir/bsd_ppc_zero/ product/libjvm.dylib 0x00000000 /usr/lib/libffi.dylib 0x00000000 /usr/lib/libSystem.B.dylib 0x00036000 /usr/local/lib/libgcc_s.1.dylib 0x00000000 /usr/lib/libstdc++.6.dylib 0x00000000 /usr/lib/libgcc_s.1.dylib 0x00000000 /usr/lib/system/libmathCommon.A.dylib 0x0006f000 /Volumes/Alternate/openjdk7_boot/jre/lib/ppc/libverify.dylib 0x0007b000 /Volumes/Alternate/openjdk7_boot/jre/lib/ppc/libjava.dylib VM Arguments: jvm_args: -Xbatch java_command: Queens Launcher Type: gamma Environment Variables: JAVA_HOME=/Volumes/Alternate/openjdk7_boot CLASSPATH=.:/Volumes/Alternate/openjdk7_boot/jre/lib/rt.jar:/Volumes/ Alternate/openjdk7_boot/jre/lib/i18n.jar PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:/opt/ local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/ bin:/usr/X11/bin LD_LIBRARY_PATH=.:/Volumes/Alternate/openjdk7_boot/jre/lib/ppc/ native_threads:/Volumes/Alternate/openjdk7_boot/jre/lib/ppc: SHELL=/bin/bash DISPLAY=/tmp/launch-moODF9/:0 DYLD_LIBRARY_PATH=.:/Volumes/Alternate/openjdk7_boot/jre/lib/ppc/ native_threads:/Volumes/Alternate/openjdk7_boot/jre/lib/ppc: Signal Handlers: SIGSEGV: [libjvm.dylib+0x377dc0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGBUS: [libjvm.dylib+0x377dc0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGFPE: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000 SIGPIPE: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000 SIGXFSZ: SIG_DFL, sa_mask[0]=0x01000000, sa_flags=0x00000002 SIGILL: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000 SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000, sa_flags=0x00000002 SIGUSR2: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000 SIGHUP: SIG_DFL, sa_mask[0]=0x00000001, sa_flags=0x00000002 SIGINT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGTERM: SIG_DFL, sa_mask[0]=0x00004000, sa_flags=0x00000002 SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 --------------- S Y S T E M --------------- OS:Bsd uname:Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh rlimit: STACK 0k, CORE 0k, NPROC 0, NOFILE 0 CPU:total 1 Memory: 4k page, physical 1811392k(452848k free) vm_info: OpenJDK Zero VM (17.0-b07) for bsd-ppc JRE (1.7.0-internal- root_2010_01_23_18_07-b00), built on Jan 23 2010 20:50:08 by "root" with gcc 4.0.1 (Apple Inc. build 5493) time: Sat Jan 23 20:50:36 2010 elapsed time: 0 seconds For completion this is the build command: LC_ALL=C LANG=C unset CLASSPATH unset JAVA_HOME sudo make \ CC=gcc-4.0 \ CXX=g++-4.0 \ SYS_CFLAGS="" LANG="C" JAVA_HOME="" CLASSPATH="" \ LD_LIBRARY_PATH="" MAKEFLAGS="" SKIP_COMPARE_IMAGES="YES" \ ALT_BOOTDIR=/Volumes/Alternate/openjdk7_boot \ ALT_BINARY_PLUGS_PATH=/opt/local/share/java/icedtea6-plugs \ ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \ ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \ ALT_JIBX_LIBS_PATH=/opt/local/share/java/jibx/lib \ ALT_MOTIF_DIR=/opt/local \ DARWIN_SDK=/Developer/SDKs/MacOSX10.5u.sdk \ ALT_DEVTOOLS_PATH=/usr ALT_CUPS_HEADERS_PATH=/usr/include \ ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/ security/cacerts \ LIBFFI_CFLAGS="-I/usr/include/ffi" \ ANT_HOME=/usr/share/ant \ NO_DOCS=true \ HOTSPOT_BUILD_JOBS=1 PARALLEL_BUILD_JOBS=1 \ BUILD_DEPLOY="false" \ ZERO_BUILD=true \ ZERO_ENDIANNESS=big \ ZERO_LIBARCH=ppc \ ZERO_ARCHDEF=PPC \ ZERO_ARCHFLAG=-m32 From stephen.bannasch at deanbrook.org Sun Jan 24 17:39:56 2010 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Sun, 24 Jan 2010 20:39:56 -0500 Subject: Build errors Message-ID: >On Mon, Jan 18, 2010 at 08:13:56PM +0100, Christian Thalinger wrote: >> On Mon, 2010-01-18 at 11:02 -0800, David Green wrote: >> > I'm attempting to build OpenJDK from source according to these >> > instructions and I'm running into the following error: >> > >> > >> > cc1plus: warnings being treated as errors > > > > >> It's a small problem that has already been fixed: >> > > http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/b1f619d38249 >> >> It will just take some time to promote to your repository. > >I've merged build 80, so this should be fixed. I'm getting similar errors: Compiling /Users/stephen/dev/java/src/bsd-port/hotspot/src/share/vm/code/nmethod.cpp results in this error: cc1plus: warnings being treated as errors /Users/stephen/dev/java/src/bsd-port/hotspot/src/share/vm/code/nmethod.cpp: In member function 'bool nmethod::make_not_entrant_or_zombie(int)': /Users/stephen/dev/java/src/bsd-port/hotspot/src/share/vm/code/nmethod.cpp:1197: warning: comparison between signed and unsignedinteger expressions make[6]: *** [nmethod.o] Error 1 make[5]: *** [the_vm] Error 2 make[4]: *** [product] Error 2 make[3]: *** [generic_build2] Error 2 make[2]: *** [product] Error 2 make[1]: *** [hotspot-build] Error 2 make: *** [build_product_image] Error 2 [1]+ Done rm -i -rf build.del I think I have the latest code -- ran hg fpull -u $ hg log changeset: 177:95cac94fe180 tag: tip parent: 173:fe9c04a530f4 parent: 176:8403096d1fe7 user: Greg Lewis date: Fri Jan 22 10:54:27 2010 -0800 summary: Merge from main OpenJDK repository changeset: 176:8403096d1fe7 user: mikejwre date: Thu Jan 21 11:12:21 2010 -0800 summary: Added tag jdk7-b80 for changeset a3242906c774 ... haven't been able to build for a couple of weeks now. From stephen.bannasch at deanbrook.org Sun Jan 24 21:40:19 2010 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Mon, 25 Jan 2010 00:40:19 -0500 Subject: Build errors In-Reply-To: <20100125041153.GA10198@misty.eyesbeyond.com> References: <535803b01001181102t56181ce7te62901a63da6fd4b@mail.gmail.com> <1263842036.9038.2.camel@macbook> <20100123055124.GA2948@misty.eyesbeyond.com> <20100125041153.GA10198@misty.eyesbeyond.com> Message-ID: At 8:11 PM -0800 1/24/10, Greg Lewis wrote: >On Sun, Jan 24, 2010 at 07:51:50PM -0500, Stephen Bannasch wrote: >> >On Mon, Jan 18, 2010 at 08:13:56PM +0100, Christian Thalinger wrote: >> >> On Mon, 2010-01-18 at 11:02 -0800, David Green wrote: >> >> > I'm attempting to build OpenJDK from source according to these >> >> > instructions and I'm running into the following error: >> >> > >> >> > >> >> > cc1plus: warnings being treated as errors >> > > > > >> >> It's a small problem that has already been fixed: >> >> >> > > http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/b1f619d38249 >> >> >> >> It will just take some time to promote to your repository. >> > >> >I've merged build 80, so this should be fixed. >> >> I'm getting similar errors: >> >> Compiling /Users/stephen/dev/java/src/bsd-port/hotspot/src/share/vm/code/nmethod.cpp >> >> results in this error: >> >> cc1plus: warnings being treated as errors >> /Users/stephen/dev/java/src/bsd-port/hotspot/src/share/vm/code/nmethod.cpp: In member function 'bool nmethod::make_not_entrant_or_zombie(int)': > >That doesn't look like you've updated. I was missing this error reported in the console in response to: $ hg fpull -u [hotspot] pulling from http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot searching for changes skipped: journal already exists - run hg recover abort: journal already exists - run hg recover! I'm not sure what the problem is but this appeared to fix it: $ cd hotspot $ hg recover $ cd - > > I think I have the latest code -- ran hg fpull -u > >You need to run hg fupdate after you run hg fpull It appears that adding '-u' to hg fpull does the fupdate after completing the fpull. I now seem to have the updated code and the build completes But I am getting this error running a simple test after the build: [bsd-port]$ ./build/bsd-i586/j2sdk-image/bin/java -version Error occurred during initialization of VM Unable to load native library: dlopen(/Users/stephen/dev/java/src/bsd-port/build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib, 1): Library not loaded: libjvm.dylib Referenced from: /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib Reason: image not found The image *is* there: [bsd-port]$ ls -l /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib -rwxr-xr-x 1 stephen staff 152564 Jan 25 00:03 /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/j2sdk-image/jre/lib/i386/libjava.dylib From John.Rose at Sun.COM Mon Jan 25 18:51:44 2010 From: John.Rose at Sun.COM (John Rose) Date: Mon, 25 Jan 2010 18:51:44 -0800 Subject: new problem: libjava.dylib: image not found -- but it is there In-Reply-To: References: <535803b01001181922k2e46a306g87104895d5d79e6e@mail.gmail.com> Message-ID: <1B9E2757-6C54-484D-8081-4C6EF3736C0E@sun.com> I asked around at the office, and here's a possible root of the problem: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/de45eac5670e The launcher (java.c in the jdk repo) used to re-exec itself with LD_LIBRARY_PATH bindings, so the libjvm and libjava DLLs could find each other. This trick was always awkward, and has been removed. Now the various DLLs have their pathnames baked into them at compile time, as *relative* paths. Perhaps this logic needs extra porting, or maybe there is a difference in behavior w.r.t. relative DLL paths on Mac OS. The error message (which comes from libjvm code) suggests that the launcher finds libjvm OK, and libjvm can find libjava OK, but when libjvm tries to open libjava, the reverse references from libjava to libjvm don't resolve properly, and the dlopen fails. -- John On Jan 19, 2010, at 7:38 AM, Stephen Bannasch wrote: >> I built JDK7 today based on these instructions http://wikis.sun.com/display/OpenJDK/Darwin9Build >> >> I'm experiencing the same problem. >> > > One possible clue is that the libjava.dylib files itself doesn't appear to be the problem. > > This is the latest build I have that doesn't work: > > [local]$ java-1.7.0-internal-2010_01_18/bin/java -version > Error occurred during initialization of VM > Unable to load native library: dlopen(/usr/local/java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib, 1): Library not loaded: libjvm.dylib > Referenced from: /usr/local/java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib > Reason: image not found > > Here's a build from Dec 26 that does work: > > [local]$ java-1.7.0-internal-2009_12_26/bin/java -version > openjdk version "1.7.0-internal" > OpenJDK Runtime Environment (build 1.7.0-internal-stephen_2009_12_26_16_00-b00) > OpenJDK Server VM (build 17.0-b05, mixed mode) > > libjava.dylib is identical: > > [local]$ diff java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib java-1.7.0-internal-2009_12_26/jre/lib/i386/libjava.dylib > > However the bin/java files differ. > > From msa at allman.ms Tue Jan 26 01:33:06 2010 From: msa at allman.ms (Michael Allman) Date: Tue, 26 Jan 2010 01:33:06 -0800 (PST) Subject: using the sendfile system call on Darwin Message-ID: <20100126012153.M76715@p3c0.erirefr.arg> Hi Folks, I would like to update jdk/src/solaris/native/sun/nio/ch/FileChannelImpl.c so that the Java_sun_nio_ch_FileChannelImpl_transferTo0 function calls the sendfile system call on Darwin. I have a few questions: 1. Is there a cpp #define for Darwin? If not, how do I tell cpp whether the system is Darwin or not? 2. Are there tests that exercise Java_sun_nio_ch_FileChannelImpl_transferTo0 or the java method FileChannel.transferTo? 3. Why doesn't the existing BSD code just return IOS_UNSUPPORTED? For instance, look at lines 223 and 224. If there's no sendfile function on Solaris, the function just returns IOS_UNSUPPORTED. The caller handles that return value gracefully. The existing BSD code looks needlessly complex to me. Cheers, Michael From John.Rose at Sun.COM Tue Jan 26 18:16:35 2010 From: John.Rose at Sun.COM (John Rose) Date: Tue, 26 Jan 2010 18:16:35 -0800 Subject: new problem: libjava.dylib: image not found -- but it is there In-Reply-To: <1B9E2757-6C54-484D-8081-4C6EF3736C0E@sun.com> References: <535803b01001181922k2e46a306g87104895d5d79e6e@mail.gmail.com> <1B9E2757-6C54-484D-8081-4C6EF3736C0E@sun.com> Message-ID: One of the significant differences between the makefiles for linux and bsd is this: -ifdef LIBRARY - # Libraries need to locate other libraries at runtime, and you can tell - # a library where to look by way of the dynamic runpaths (RPATH or RUNPATH) - # buried inside the .so. The $ORIGIN says to look relative to where - # the library itself is and it can be followed with relative paths from - # that. By default we always look in $ORIGIN, optionally we add relative - # paths if the Makefile sets LD_RUNPATH_EXTRAS to those relative paths. - # On Linux we add a flag -z origin, not sure if this is necessary, but - # doesn't seem to hurt. - # The environment variable LD_LIBRARY_PATH will over-ride these runpaths. - # Try: 'readelf -d lib*.so' to see these settings in a library. - # - LDFLAGS_COMMON += -Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$$ORIGIN - LDFLAGS_COMMON += $(LD_RUNPATH_EXTRAS:%=-Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$$ORIGIN/%) -endif (See output of "diff -u make/common/Defs-{linux,bsd}.gmk".) I don't know if there is an equivalent BSD dyld feature for Solaris and Linux $ORIGIN, but the lack of it, or the lack of use of it, may be causing the problem we are seeing. The $ORIGIN hack seems like the sort of thing which Mac OS X would do better; does anyone know the Mac or BSD story here? The original version of the BSD file omits mention of LD_RUNPATH_EXTRAS, while the original version of linux and solaris files has it, so it's hard to tell who to ask about the change. -- John On Jan 25, 2010, at 6:51 PM, John Rose wrote: > I asked around at the office, and here's a possible root of the problem: > http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/de45eac5670e > > The launcher (java.c in the jdk repo) used to re-exec itself with LD_LIBRARY_PATH bindings, so the libjvm and libjava DLLs could find each other. This trick was always awkward, and has been removed. > > Now the various DLLs have their pathnames baked into them at compile time, as *relative* paths. Perhaps this logic needs extra porting, or maybe there is a difference in behavior w.r.t. relative DLL paths on Mac OS. The error message (which comes from libjvm code) suggests that the launcher finds libjvm OK, and libjvm can find libjava OK, but when libjvm tries to open libjava, the reverse references from libjava to libjvm don't resolve properly, and the dlopen fails. > > -- John > > On Jan 19, 2010, at 7:38 AM, Stephen Bannasch wrote: > >>> I built JDK7 today based on these instructions http://wikis.sun.com/display/OpenJDK/Darwin9Build >>> >>> I'm experiencing the same problem. >>> >> >> One possible clue is that the libjava.dylib files itself doesn't appear to be the problem. >> >> This is the latest build I have that doesn't work: >> >> [local]$ java-1.7.0-internal-2010_01_18/bin/java -version >> Error occurred during initialization of VM >> Unable to load native library: dlopen(/usr/local/java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib, 1): Library not loaded: libjvm.dylib >> Referenced from: /usr/local/java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib >> Reason: image not found >> >> Here's a build from Dec 26 that does work: >> >> [local]$ java-1.7.0-internal-2009_12_26/bin/java -version >> openjdk version "1.7.0-internal" >> OpenJDK Runtime Environment (build 1.7.0-internal-stephen_2009_12_26_16_00-b00) >> OpenJDK Server VM (build 17.0-b05, mixed mode) >> >> libjava.dylib is identical: >> >> [local]$ diff java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib java-1.7.0-internal-2009_12_26/jre/lib/i386/libjava.dylib >> >> However the bin/java files differ. >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100126/62658828/attachment.html From swingler at apple.com Tue Jan 26 18:41:13 2010 From: swingler at apple.com (Mike Swingler) Date: Tue, 26 Jan 2010 18:41:13 -0800 Subject: new problem: libjava.dylib: image not found -- but it is there In-Reply-To: References: <535803b01001181922k2e46a306g87104895d5d79e6e@mail.gmail.com> <1B9E2757-6C54-484D-8081-4C6EF3736C0E@sun.com> Message-ID: The BSD Makefile should definitely specify some link directives. On Mac OS X, dyld uses a stack of "rpath" directives that are pushed by each library that is loaded (the dyld man page has more info in the "DYNAMIC LIBRARY LOADING" section). We have recently started building the Apple JDK with @rpath-based paths to avoid using a full path in each libraries "install_name", which is included by each library that links against it. Each library needs to be built with with an @rpath-relative install_name: -install_name @rpath/$(LIB_PREFIX)$(LIBRARY).$(LIBRARY_SUFFIX) As well as the "push rpath" directives, for example: -Xlinker -rpath -Xlinker @loader_path/../lib -Xlinker -rpath -Xlinker @loader_path/../jre/lib Also, the bin tools need to have "push rpath" directives as well, so you'll probably need to experiment with a number of different paths to find a combination that builds a coherent JDK. Best of luck, Mike Swingler Java Runtime Engineer Apple Inc. On Jan 26, 2010, at 6:16 PM, John Rose wrote: > One of the significant differences between the makefiles for linux and bsd is this: > > -ifdef LIBRARY > - # Libraries need to locate other libraries at runtime, and you can tell > - # a library where to look by way of the dynamic runpaths (RPATH or RUNPATH) > - # buried inside the .so. The $ORIGIN says to look relative to where > - # the library itself is and it can be followed with relative paths from > - # that. By default we always look in $ORIGIN, optionally we add relative > - # paths if the Makefile sets LD_RUNPATH_EXTRAS to those relative paths. > - # On Linux we add a flag -z origin, not sure if this is necessary, but > - # doesn't seem to hurt. > - # The environment variable LD_LIBRARY_PATH will over-ride these runpaths. > - # Try: 'readelf -d lib*.so' to see these settings in a library. > - # > - LDFLAGS_COMMON += -Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$$ORIGIN > - LDFLAGS_COMMON += $(LD_RUNPATH_EXTRAS:%=-Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$$ORIGIN/%) > -endif > > (See output of "diff -u make/common/Defs-{linux,bsd}.gmk".) > > I don't know if there is an equivalent BSD dyld feature for Solaris and Linux $ORIGIN, but the lack of it, or the lack of use of it, may be causing the problem we are seeing. > > The $ORIGIN hack seems like the sort of thing which Mac OS X would do better; does anyone know the Mac or BSD story here? > > The original version of the BSD file omits mention of LD_RUNPATH_EXTRAS, while the original version of linux and solaris files has it, so it's hard to tell who to ask about the change. > > -- John > > On Jan 25, 2010, at 6:51 PM, John Rose wrote: > >> I asked around at the office, and here's a possible root of the problem: >> http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/de45eac5670e >> >> The launcher (java.c in the jdk repo) used to re-exec itself with LD_LIBRARY_PATH bindings, so the libjvm and libjava DLLs could find each other. This trick was always awkward, and has been removed. >> >> Now the various DLLs have their pathnames baked into them at compile time, as *relative* paths. Perhaps this logic needs extra porting, or maybe there is a difference in behavior w.r.t. relative DLL paths on Mac OS. The error message (which comes from libjvm code) suggests that the launcher finds libjvm OK, and libjvm can find libjava OK, but when libjvm tries to open libjava, the reverse references from libjava to libjvm don't resolve properly, and the dlopen fails. >> >> -- John >> >> On Jan 19, 2010, at 7:38 AM, Stephen Bannasch wrote: >> >>>> I built JDK7 today based on these instructions http://wikis.sun.com/display/OpenJDK/Darwin9Build >>>> >>>> I'm experiencing the same problem. >>> >>> One possible clue is that the libjava.dylib files itself doesn't appear to be the problem. >>> >>> This is the latest build I have that doesn't work: >>> >>> [local]$ java-1.7.0-internal-2010_01_18/bin/java -version >>> Error occurred during initialization of VM >>> Unable to load native library: dlopen(/usr/local/java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib, 1): Library not loaded: libjvm.dylib >>> Referenced from: /usr/local/java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib >>> Reason: image not found >>> >>> Here's a build from Dec 26 that does work: >>> >>> [local]$ java-1.7.0-internal-2009_12_26/bin/java -version >>> openjdk version "1.7.0-internal" >>> OpenJDK Runtime Environment (build 1.7.0-internal-stephen_2009_12_26_16_00-b00) >>> OpenJDK Server VM (build 17.0-b05, mixed mode) >>> >>> libjava.dylib is identical: >>> >>> [local]$ diff java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib java-1.7.0-internal-2009_12_26/jre/lib/i386/libjava.dylib >>> >>> However the bin/java files differ. >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100126/87dd5a2f/attachment.html From John.Rose at Sun.COM Tue Jan 26 20:52:14 2010 From: John.Rose at Sun.COM (John Rose) Date: Tue, 26 Jan 2010 20:52:14 -0800 Subject: new problem: libjava.dylib: image not found -- but it is there In-Reply-To: References: <535803b01001181922k2e46a306g87104895d5d79e6e@mail.gmail.com> <1B9E2757-6C54-484D-8081-4C6EF3736C0E@sun.com> Message-ID: On Jan 26, 2010, at 6:41 PM, Mike Swingler wrote: > Also, the bin tools need to have "push rpath" directives as well, so you'll probably need to experiment with a number of different paths to find a combination that builds a coherent JDK. I did some experimentation and got something that builds with reasonable-looking linker options, but it still doesn't work. dtruss shows some evidence that the new rpath components are being looked at, and there are stats of libjvm.dylib, but this is what happens in the end: $ build/bsd-i586/j2re-image/bin/java -Xinternalversion Error occurred during initialization of VM Unable to load native library: dlopen(/Users/jrose/Projects/davinci/sources/build/bsd-i586/j2re-image/lib/i386/libjava.dylib, 1): Library not loaded: libjvm.dylib Referenced from: /Users/jrose/Projects/davinci/sources/build/bsd-i586/lib/i386/libverify.dylib Reason: image not found Here are my makefile changes so far (relative to a $davinci installation). It is pretty crude and needs cleanup as well as correction. http://homepage.mac.com/rose00/work/osxpaths.zip libjvm links with options including these: -Xlinker -rpath -Xlinker @loader_path/. -Xlinker -rpath -Xlinker @loader_path/.. -Xlinker -install_name -Xlinker @rpath/libjvm.dylib -o libjvm.dylib libjava links with options including these: -Xlinker -rpath -Xlinker @loader_path/. -Xlinker -install_name -Xlinker @rpath/libjava.dylib -L$build/bsd-i586/lib/i386 -dynamiclib -o $build/bsd-i586/lib/i386/libjava.dylib I'm going to look at other things now. Catch, anyone? -- John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100126/debf219c/attachment.html From John.Rose at Sun.COM Tue Jan 26 23:09:19 2010 From: John.Rose at Sun.COM (John Rose) Date: Tue, 26 Jan 2010 23:09:19 -0800 Subject: new problem: libjava.dylib: image not found -- but it is there In-Reply-To: References: <535803b01001181922k2e46a306g87104895d5d79e6e@mail.gmail.com> <1B9E2757-6C54-484D-8081-4C6EF3736C0E@sun.com> Message-ID: <34EA39E1-22DA-4DC1-9E80-EB291900D6B6@sun.com> On Jan 26, 2010, at 8:52 PM, John Rose wrote: > this is what happens in the end Oops... That was because I was doing incremental rebuilds. Actually, those makefile changes seem to do the trick: > Here are my makefile changes so far (relative to a $davinci installation). It is pretty crude and needs cleanup as well as correction. > http://homepage.mac.com/rose00/work/osxpaths.zip With a real build, the linker options in the makefile changes do seem to cover the needed inter-library references without embedding build directory pathnames: $ DYLD_PRINT_LIBRARIES= build/bsd-i586/j2re-image/bin/java -Xinternalversion dyld: loaded: /Users/jrose/Projects/davinci/sources/build/bsd-i586/j2re-image/bin/java dyld: loaded: /usr/lib/libSystem.B.dylib dyld: loaded: /usr/lib/system/libmathCommon.A.dylib dyld: loaded: /Users/jrose/Projects/davinci/sources/build/bsd-i586/j2re-image/lib/i386/server/libjvm.dylib dyld: loaded: /usr/lib/libstdc++.6.dylib dyld: loaded: /Users/jrose/Projects/davinci/sources/build/bsd-i586/j2re-image/lib/i386/libverify.dylib dyld: loaded: /Users/jrose/Projects/davinci/sources/build/bsd-i586/j2re-image/lib/i386/libjava.dylib OpenJDK Server VM (17.0-b07) for bsd-x86 JRE (1.7.0-internal-jrose_2010_01_26_16_15-b00), built on Jan 26 2010 16:26:30 by "jrose" with gcc 4.0.1 (Apple Inc. build 5493) $ otool -L build/bsd-i586/j2re-image/{bin/java,lib/i386/{libjava.dylib,server/libjvm.dylib}} build/bsd-i586/j2re-image/bin/java: /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 103.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.0) build/bsd-i586/j2re-image/lib/i386/libjava.dylib: @rpath/libjava.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libjvm.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libverify.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 103.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.0) build/bsd-i586/j2re-image/lib/i386/server/libjvm.dylib: @rpath/libjvm.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 103.0.0) There may be too many linker options: too many -rpath options (two per link line) and an excess of -install_name options (they were nowhere, now they are everywhere). -- John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100126/4f206179/attachment.html From glewis at eyesbeyond.com Wed Jan 27 14:03:22 2010 From: glewis at eyesbeyond.com (Greg Lewis) Date: Wed, 27 Jan 2010 14:03:22 -0800 Subject: new problem: libjava.dylib: image not found -- but it is there In-Reply-To: References: <535803b01001181922k2e46a306g87104895d5d79e6e@mail.gmail.com> <1B9E2757-6C54-484D-8081-4C6EF3736C0E@sun.com> Message-ID: <20100127220322.GA5085@misty.eyesbeyond.com> On Tue, Jan 26, 2010 at 06:16:35PM -0800, John Rose wrote: > One of the significant differences between the makefiles for linux and bsd is this: > > -ifdef LIBRARY > - # Libraries need to locate other libraries at runtime, and you can tell > - # a library where to look by way of the dynamic runpaths (RPATH or RUNPATH) > - # buried inside the .so. The $ORIGIN says to look relative to where > - # the library itself is and it can be followed with relative paths from > - # that. By default we always look in $ORIGIN, optionally we add relative > - # paths if the Makefile sets LD_RUNPATH_EXTRAS to those relative paths. > - # On Linux we add a flag -z origin, not sure if this is necessary, but > - # doesn't seem to hurt. > - # The environment variable LD_LIBRARY_PATH will over-ride these runpaths. > - # Try: 'readelf -d lib*.so' to see these settings in a library. > - # > - LDFLAGS_COMMON += -Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$$ORIGIN > - LDFLAGS_COMMON += $(LD_RUNPATH_EXTRAS:%=-Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$$ORIGIN/%) > -endif > > (See output of "diff -u make/common/Defs-{linux,bsd}.gmk".) > > I don't know if there is an equivalent BSD dyld feature for Solaris > and Linux $ORIGIN, but the lack of it, or the lack of use of it, > may be causing the problem we are seeing. > > The $ORIGIN hack seems like the sort of thing which Mac OS X would do > better; does anyone know the Mac or BSD story here? > > The original version of the BSD file omits mention of LD_RUNPATH_EXTRAS, > while the original version of linux and solaris files has it, so it's > hard to tell who to ask about the change. I seem to recall leaving this out because the MacOS X linker didn't understand these flags. At that point things were working without them so I didn't want to spend the time investigating further to see if there were equivalent flags. Sorry. > On Jan 25, 2010, at 6:51 PM, John Rose wrote: > > > I asked around at the office, and here's a possible root of the problem: > > http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/de45eac5670e > > > > The launcher (java.c in the jdk repo) used to re-exec itself with LD_LIBRARY_PATH bindings, so the libjvm and libjava DLLs could find each other. This trick was always awkward, and has been removed. > > > > Now the various DLLs have their pathnames baked into them at compile time, as *relative* paths. Perhaps this logic needs extra porting, or maybe there is a difference in behavior w.r.t. relative DLL paths on Mac OS. The error message (which comes from libjvm code) suggests that the launcher finds libjvm OK, and libjvm can find libjava OK, but when libjvm tries to open libjava, the reverse references from libjava to libjvm don't resolve properly, and the dlopen fails. > > > > -- John > > > > On Jan 19, 2010, at 7:38 AM, Stephen Bannasch wrote: > > > >>> I built JDK7 today based on these instructions http://wikis.sun.com/display/OpenJDK/Darwin9Build > >>> > >>> I'm experiencing the same problem. > >>> > >> > >> One possible clue is that the libjava.dylib files itself doesn't appear to be the problem. > >> > >> This is the latest build I have that doesn't work: > >> > >> [local]$ java-1.7.0-internal-2010_01_18/bin/java -version > >> Error occurred during initialization of VM > >> Unable to load native library: dlopen(/usr/local/java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib, 1): Library not loaded: libjvm.dylib > >> Referenced from: /usr/local/java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib > >> Reason: image not found > >> > >> Here's a build from Dec 26 that does work: > >> > >> [local]$ java-1.7.0-internal-2009_12_26/bin/java -version > >> openjdk version "1.7.0-internal" > >> OpenJDK Runtime Environment (build 1.7.0-internal-stephen_2009_12_26_16_00-b00) > >> OpenJDK Server VM (build 17.0-b05, mixed mode) > >> > >> libjava.dylib is identical: > >> > >> [local]$ diff java-1.7.0-internal-2010_01_18/jre/lib/i386/libjava.dylib java-1.7.0-internal-2009_12_26/jre/lib/i386/libjava.dylib > >> > >> However the bin/java files differ. > >> > >> > > > > > > -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From John.Rose at Sun.COM Wed Jan 27 14:24:04 2010 From: John.Rose at Sun.COM (John Rose) Date: Wed, 27 Jan 2010 14:24:04 -0800 Subject: new problem: libjava.dylib: image not found -- but it is there In-Reply-To: <20100127220322.GA5085@misty.eyesbeyond.com> References: <535803b01001181922k2e46a306g87104895d5d79e6e@mail.gmail.com> <1B9E2757-6C54-484D-8081-4C6EF3736C0E@sun.com> <20100127220322.GA5085@misty.eyesbeyond.com> Message-ID: <5321FE28-A358-48FA-A149-2BF97EB2EEAF@Sun.COM> On Jan 27, 2010, at 2:03 PM, Greg Lewis wrote: >> The $ORIGIN hack seems like the sort of thing which Mac OS X would do >> better; does anyone know the Mac or BSD story here? >> >> The original version of the BSD file omits mention of LD_RUNPATH_EXTRAS, >> while the original version of linux and solaris files has it, so it's >> hard to tell who to ask about the change. > > I seem to recall leaving this out because the MacOS X linker didn't > understand these flags. At that point things were working without them > so I didn't want to spend the time investigating further to see if there > were equivalent flags. Sorry. No problem; it's clearly just part of the porting process. A comment left behind might have saved a little time (but only a little). Thanks for the clarification, and thanks Mike S. for the pointers to linker docs. -- John P.S. As I googled around for info on Mac linking, I also found these pages helpful: http://www.codeshorts.ca/2007/nov/01/leopard-linking-making-relocatable-libraries-movin http://code.google.com/p/sidelight/wiki/RpathSaver https://wiki.ucar.edu/display/dasg/Building+with+shared+libs http://www.cocoadev.com/index.pl?ApplicationLinking From glewis at eyesbeyond.com Wed Jan 27 21:12:10 2010 From: glewis at eyesbeyond.com (Greg Lewis) Date: Wed, 27 Jan 2010 21:12:10 -0800 Subject: using the sendfile system call on Darwin In-Reply-To: <20100126012153.M76715@p3c0.erirefr.arg> References: <20100126012153.M76715@p3c0.erirefr.arg> Message-ID: <20100128051210.GA62234@misty.eyesbeyond.com> On Tue, Jan 26, 2010 at 01:33:06AM -0800, Michael Allman wrote: > I would like to update jdk/src/solaris/native/sun/nio/ch/FileChannelImpl.c > so that the Java_sun_nio_ch_FileChannelImpl_transferTo0 function calls the > sendfile system call on Darwin. I have a few questions: > > 1. Is there a cpp #define for Darwin? If not, how do I tell cpp whether > the system is Darwin or not? The rest of the code uses #ifdef __APPLE__ > 2. Are there tests that exercise > Java_sun_nio_ch_FileChannelImpl_transferTo0 or the java method > FileChannel.transferTo? Some of the tests in jdk/test/java/nio/channels/FileChannel/ may be useful, I haven't looked them over though. > 3. Why doesn't the existing BSD code just return IOS_UNSUPPORTED? For > instance, look at lines 223 and 224. If there's no sendfile function on > Solaris, the function just returns IOS_UNSUPPORTED. The caller handles > that return value gracefully. The existing BSD code looks needlessly > complex to me. All of the BSDs have sendfile, its just limited to only sending the file to a stream socket rather than any file descriptor, which Solaris and Linux allow. It's fairly easy to implement code that will do that though, so that's what was done rather than throwing errors when a non-socket file descriptor was used. Note that MacOS X seems to have the same limitations as all the other BSDs in terms of what type of file descriptor can be used as the destination: http://developer.apple.com/Mac/library/documentation/Darwin/Reference/ManPages/man2/sendfile.2.html If NIO in general interests you, then a project we really need someone to work on is porting NIO2 to BSD. None of the BSDs have the epoll mechanism used on Linux or whatever Solaris uses (which I can't recall off the top of my head right now). The suggestion is to use kqueue(2) on BSD. -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From msa at allman.ms Thu Jan 28 00:14:15 2010 From: msa at allman.ms (Michael Allman) Date: Thu, 28 Jan 2010 00:14:15 -0800 (PST) Subject: using the sendfile system call on Darwin In-Reply-To: <20100128051210.GA62234@misty.eyesbeyond.com> References: <20100126012153.M76715@p3c0.erirefr.arg> <20100128051210.GA62234@misty.eyesbeyond.com> Message-ID: <20100127233436.N74417@p3c0.erirefr.arg> On Wed, 27 Jan 2010, Greg Lewis wrote: > On Tue, Jan 26, 2010 at 01:33:06AM -0800, Michael Allman wrote: >> I would like to update jdk/src/solaris/native/sun/nio/ch/FileChannelImpl.c >> so that the Java_sun_nio_ch_FileChannelImpl_transferTo0 function calls the >> sendfile system call on Darwin. I have a few questions: >> >> 1. Is there a cpp #define for Darwin? If not, how do I tell cpp whether >> the system is Darwin or not? > > The rest of the code uses > > #ifdef __APPLE__ Ok. Thanks. >> 2. Are there tests that exercise >> Java_sun_nio_ch_FileChannelImpl_transferTo0 or the java method >> FileChannel.transferTo? > > Some of the tests in jdk/test/java/nio/channels/FileChannel/ may be useful, > I haven't looked them over though. Oh yeah. I remember these. I have have an old copy on my machine. I just forgot. >> 3. Why doesn't the existing BSD code just return IOS_UNSUPPORTED? For >> instance, look at lines 223 and 224. If there's no sendfile function on >> Solaris, the function just returns IOS_UNSUPPORTED. The caller handles >> that return value gracefully. The existing BSD code looks needlessly >> complex to me. > > All of the BSDs have sendfile, its just limited to only sending the file to > a stream socket rather than any file descriptor, which Solaris and Linux > allow. It's fairly easy to implement code that will do that though, so > that's what was done rather than throwing errors when a non-socket file > descriptor was used. > > Note that MacOS X seems to have the same limitations as all the other BSDs > in terms of what type of file descriptor can be used as the destination: > > http://developer.apple.com/Mac/library/documentation/Darwin/Reference/ManPages/man2/sendfile.2.html I think sun.nio.ch.FileChannelImpl can handle this limitation gracefully. The new Java_sun_nio_ch_FileChannelImpl_transferTo0 method will look something like this: (starting at _ALLBSD_SOURCE_) ------------------------------------------------------------ #ifdef _ALLBSD_SOURCE #ifdef __APPLE__ int result; result = sendfile(srcFD, dstFD, position, &count); if (result == 0) return count; if (errno == ENOTSOCK) return IOS_UNSUPPORTED_CASE; /* Handle more errno's here... */ /* Return of last resort */ JNU_ThrowIOExceptionWithLastError(env, "Transfer failed"); return IOS_THROWN; #endif return IOS_UNSUPPORTED; #endif ------------------------------------------------------ That's it. FileChannelImpl's transferToDirectly method tries Java_sun_nio_ch_FileChannelImpl_transferTo0 at least once. If Java_sun_nio_ch_FileChannelImpl_transferTo0 returns IOS_UNSUPPORTED, it won't call it again. If Java_sun_nio_ch_FileChannelImpl_transferTo0 returns IOS_UNSUPPORTED_CASE and the destination file descriptor is a file, then transferToDirectly just won't call Java_sun_nio_ch_FileChannelImpl_transferTo0 again for transfers to files. But it will still call it for transfers to sockets. The details are in the FileChannelImpl.java source code. Using this approach, we can still take advantage of BSDs' support for file->socket transfer without emulating support for file->file transfer. Also, though this patch will be targeted at Darwin only, I believe it will be easily adaptable to other BSD systems. I just looked up FreeBSD's sendfile call and it looks very similar. > If NIO in general interests you, then a project we really need someone to > work on is porting NIO2 to BSD. None of the BSDs have the epoll mechanism > used on Linux or whatever Solaris uses (which I can't recall off the top of > my head right now). The suggestion is to use kqueue(2) on BSD. A kqueue-based selector would be nice for NIO 1. Both of these would be cool projects. I might be able to do the Java side of this effort if a kqueue developer does the native side. I don't have the C/C++ programming skills to do the latter. Cheers, Michael From luis.neves at gmail.com Sat Jan 30 01:51:55 2010 From: luis.neves at gmail.com (Luis Neves) Date: Sat, 30 Jan 2010 09:51:55 +0000 Subject: using the sendfile system call on Darwin In-Reply-To: <20100127233436.N74417@p3c0.erirefr.arg> References: <20100126012153.M76715@p3c0.erirefr.arg> <20100128051210.GA62234@misty.eyesbeyond.com> <20100127233436.N74417@p3c0.erirefr.arg> Message-ID: On 01/28/2010 08:14 AM, Michael Allman wrote: > I might be able to do the Java side of this effort if a kqueue developer > does the native side. I don't have the C/C++ programming skills to do the > latter. The GNU Classpath has a kqueue selector implementation, could that be used? -- Luis Neves From msa at allman.ms Sat Jan 30 15:08:42 2010 From: msa at allman.ms (Michael Allman) Date: Sat, 30 Jan 2010 15:08:42 -0800 (PST) Subject: using the sendfile system call on Darwin In-Reply-To: References: <20100126012153.M76715@p3c0.erirefr.arg> <20100128051210.GA62234@misty.eyesbeyond.com> <20100127233436.N74417@p3c0.erirefr.arg> Message-ID: <20100130145242.N18294@p3c0.erirefr.arg> On Sat, 30 Jan 2010, Luis Neves wrote: > On 01/28/2010 08:14 AM, Michael Allman wrote: > >> I might be able to do the Java side of this effort if a kqueue developer >> does the native side. I don't have the C/C++ programming skills to do the >> latter. > > The GNU Classpath has a kqueue selector implementation, could that be used? That would be great. Collaboration and sharing is awesome. However, I believe there's a legal snarl---I believe any and all contributions to OpenJDK must be original work by the contributor (i.e. the contributor must own the copyright). I don't even think contributors are allowed to look at foreign source code if it is related to their contribution. Can someone confirm/deny my belief? Another approach to getting the GNU Classpath implementation would be to ask the copyright owners (FSF and Casey Marshall ) to donate their code. Cheers, Michael From glewis at eyesbeyond.com Sat Jan 30 17:33:32 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 31 Jan 2010 01:33:32 +0000 Subject: hg: bsd-port/bsd-port: 2 new changesets Message-ID: <20100131013333.3ABCD41709@hg.openjdk.java.net> Changeset: e1176f86805f Author: mikejwre Date: 2010-01-28 11:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/e1176f86805f Added tag jdk7-b81 for changeset 8403096d1fe7 ! .hgtags Changeset: 9a12d1cdd53c Author: Greg Lewis Date: 2010-01-29 23:41 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/rev/9a12d1cdd53c Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Jan 30 17:33:38 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 31 Jan 2010 01:33:38 +0000 Subject: hg: bsd-port/bsd-port/corba: 2 new changesets Message-ID: <20100131013342.AD9244170A@hg.openjdk.java.net> Changeset: 1e8c1bfad1ab Author: mikejwre Date: 2010-01-28 11:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/1e8c1bfad1ab Added tag jdk7-b81 for changeset e08a42a2a94d ! .hgtags Changeset: 10fec912d0a2 Author: Greg Lewis Date: 2010-01-29 23:41 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/10fec912d0a2 Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Jan 30 17:33:52 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 31 Jan 2010 01:33:52 +0000 Subject: hg: bsd-port/bsd-port/hotspot: 20 new changesets Message-ID: <20100131013504.B361F4170B@hg.openjdk.java.net> Changeset: 2dd52dea6d28 Author: johnc Date: 2010-01-12 14:56 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/2dd52dea6d28 6902115: G1:assert(ignore_max_completed||thread->is_Java_thread()||SafepointSynchronize::is_at_safepoint()) Summary: Remove invalid assert and mangle filler objects in TLABs that are being retired. Reviewed-by: ysr, jmasa ! src/share/vm/gc_interface/collectedHeap.cpp ! src/share/vm/gc_interface/collectedHeap.hpp ! src/share/vm/memory/threadLocalAllocBuffer.cpp ! src/share/vm/memory/threadLocalAllocBuffer.inline.hpp Changeset: 7b0e9cba0307 Author: ysr Date: 2010-01-13 15:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/7b0e9cba0307 6896647: card marks can be deferred too long Summary: Deferred card marks are now flushed during the gc prologue. Parallel[Scavege,OldGC] and SerialGC no longer defer card marks generated by COMPILER2 as a result of ReduceInitialCardMarks. For these cases, introduced a diagnostic option to defer the card marks, only for the purposes of testing and diagnostics. CMS and G1 continue to defer card marks. Potential performance concern related to single-threaded flushing of deferred card marks in the gc prologue will be addressed in the future. Reviewed-by: never, johnc ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp ! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp ! src/share/vm/gc_interface/collectedHeap.cpp ! src/share/vm/gc_interface/collectedHeap.hpp ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/memory/genCollectedHeap.hpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/runtime.cpp ! src/share/vm/opto/runtime.hpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/thread.cpp ! src/share/vm/runtime/vmStructs.cpp Changeset: 0c1bf505f7a2 Author: tonyp Date: 2010-01-13 15:46 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/0c1bf505f7a2 6916652: G1: remove +UseG1GC from under experimental options Summary: What the title says. Reviewed-by: ysr, jmasa ! src/share/vm/runtime/globals.hpp Changeset: 22e27cceb7d8 Author: tonyp Date: 2010-01-14 09:20 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/22e27cceb7d8 Merge ! src/share/vm/runtime/globals.hpp Changeset: 09646c4656ca Author: johnc Date: 2010-01-13 15:45 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/09646c4656ca 6915005: G1: Hang in PtrQueueSet::completed_buffers_list_length with gcl001 Summary: When enqueuing a completed PtrQueue buffer, cache a local pointer to the buffer and clear the field in the PtrQueue prior to unlocking the mutex referenced by the _lock field and pass the cached local value to the enqueuing routine. This will prevent the same completed buffer being enqueued multiple times, which causes the hang. Reviewed-by: ysr ! src/share/vm/gc_implementation/g1/ptrQueue.cpp - src/share/vm/gc_implementation/g1/ptrQueue.inline.hpp Changeset: c4d722788ed6 Author: ysr Date: 2010-01-16 23:51 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/c4d722788ed6 Merge - src/share/vm/gc_implementation/g1/ptrQueue.inline.hpp ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/runtime/globals.hpp Changeset: 5b00c9feb9ea Author: trims Date: 2010-01-19 14:23 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/5b00c9feb9ea Merge - src/share/vm/gc_implementation/g1/ptrQueue.inline.hpp Changeset: b2b6a9bf6238 Author: cfang Date: 2010-01-12 14:37 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/b2b6a9bf6238 6894779: Loop Predication for Loop Optimizer in C2 Summary: Loop predication implementation Reviewed-by: never, kvn ! src/share/vm/includeDB_compiler2 ! src/share/vm/opto/c2_globals.hpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/compile.hpp ! src/share/vm/opto/loopTransform.cpp ! src/share/vm/opto/loopnode.cpp ! src/share/vm/opto/loopnode.hpp ! src/share/vm/opto/parse.hpp ! src/share/vm/opto/parse1.cpp ! src/share/vm/opto/parse2.cpp ! src/share/vm/opto/split_if.cpp ! src/share/vm/runtime/deoptimization.cpp ! src/share/vm/runtime/deoptimization.hpp Changeset: 73b22f919c34 Author: jrose Date: 2010-01-13 23:05 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/73b22f919c34 6912065: final fields in objects need to support inlining optimizations for JSR 292 Reviewed-by: twisti, kvn ! src/share/vm/ci/ciField.cpp ! src/share/vm/runtime/globals.hpp Changeset: ddb7834449d0 Author: never Date: 2010-01-15 11:53 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/ddb7834449d0 6849984: Value methods for platform dependent math functions constant fold incorrectly Reviewed-by: kvn, twisti ! src/cpu/sparc/vm/interpreter_sparc.cpp ! src/cpu/sparc/vm/stubGenerator_sparc.cpp ! src/cpu/x86/vm/stubGenerator_x86_32.cpp ! src/cpu/x86/vm/stubGenerator_x86_64.cpp ! src/cpu/x86/vm/templateInterpreter_x86_32.cpp ! src/cpu/x86/vm/templateInterpreter_x86_64.cpp ! src/share/vm/interpreter/abstractInterpreter.hpp ! src/share/vm/opto/subnode.cpp ! src/share/vm/runtime/compilationPolicy.cpp ! src/share/vm/runtime/stubRoutines.cpp ! src/share/vm/runtime/stubRoutines.hpp Changeset: 614b7e3a9f48 Author: never Date: 2010-01-15 16:15 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/614b7e3a9f48 6879943: CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LIR.hpp:2029 Reviewed-by: kvn, cfang ! src/share/vm/c1/c1_LIR.hpp Changeset: d11ce1551e8d Author: twisti Date: 2010-01-18 05:02 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/d11ce1551e8d 6917698: os::is_allocatable Zero fix for 32-bit platforms Summary: Recent changes call os::is_allocatable which was not implemented in Zero. Reviewed-by: twisti Contributed-by: Edward Nevill ! src/os_cpu/linux_zero/vm/os_linux_zero.cpp Changeset: acebf2655d3a Author: kvn Date: 2010-01-19 10:25 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/acebf2655d3a 6917931: compiler/6895383/Test.java don't compile due missed imports Summary: Add missing imports. Reviewed-by: never, twisti ! test/compiler/6895383/Test.java Changeset: 648fe315b257 Author: kvn Date: 2010-01-19 15:54 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/648fe315b257 6893701: compiler/6877254/Test.java fails because it combines -XX:+UseConcMarkSweepGC with other GC Summary: Remove explicit GC flags in regression tests Reviewed-by: never, ysr ! test/compiler/6877254/Test.java ! test/compiler/6896727/Test.java Changeset: 3d6016e040d6 Author: iveresov Date: 2010-01-20 12:54 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/3d6016e040d6 Merge ! src/share/vm/runtime/globals.hpp Changeset: 10f901469941 Author: trims Date: 2010-01-22 14:57 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/10f901469941 Merge Changeset: 1f9b07674480 Author: trims Date: 2010-01-22 15:01 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1f9b07674480 6919437: Bump the HS17 build number to 08 Summary: Update the HS17 build number to 08 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 1999f5b12482 Author: mikejwre Date: 2010-01-28 11:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1999f5b12482 Added tag jdk7-b81 for changeset 1f9b07674480 ! .hgtags Changeset: 16e9586714fe Author: Greg Lewis Date: 2010-01-29 23:41 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/16e9586714fe Merge from main OpenJDK repository ! src/cpu/x86/vm/stubGenerator_x86_64.cpp - src/share/vm/gc_implementation/g1/ptrQueue.inline.hpp ! src/share/vm/includeDB_compiler2 ! src/share/vm/runtime/globals.hpp Changeset: e2b5130a5a31 Author: Greg Lewis Date: 2010-01-30 17:31 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/e2b5130a5a31 . Make BSD specific changes equivalent to the Linux specific changes. ! src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp From glewis at eyesbeyond.com Sat Jan 30 17:35:11 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 31 Jan 2010 01:35:11 +0000 Subject: hg: bsd-port/bsd-port/jaxp: 2 new changesets Message-ID: <20100131013511.4646F4170C@hg.openjdk.java.net> Changeset: c876ad22e4bf Author: mikejwre Date: 2010-01-28 11:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/c876ad22e4bf Added tag jdk7-b81 for changeset 204e59d488cd ! .hgtags Changeset: 365b3ddc2796 Author: Greg Lewis Date: 2010-01-29 23:41 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/365b3ddc2796 Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Jan 30 17:35:17 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 31 Jan 2010 01:35:17 +0000 Subject: hg: bsd-port/bsd-port/jaxws: 2 new changesets Message-ID: <20100131013517.3FB004170D@hg.openjdk.java.net> Changeset: 31573ae8eed1 Author: mikejwre Date: 2010-01-28 11:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/31573ae8eed1 Added tag jdk7-b81 for changeset f051045fe94a ! .hgtags Changeset: 34a93966257d Author: Greg Lewis Date: 2010-01-29 23:41 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/34a93966257d Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Jan 30 17:35:28 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 31 Jan 2010 01:35:28 +0000 Subject: hg: bsd-port/bsd-port/jdk: 32 new changesets Message-ID: <20100131014531.D83B441714@hg.openjdk.java.net> Changeset: 7e116fd3a724 Author: ohair Date: 2010-01-04 15:30 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/7e116fd3a724 6910834: TEST: java/io/File/Basic.java fails on Windows CYGWIN environment Reviewed-by: tbell, alanb ! test/java/io/File/Basic.java ! test/java/io/File/basic.sh Changeset: ad19f61a0fa6 Author: ohair Date: 2010-01-04 15:33 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/ad19f61a0fa6 6910835: TESTS: 3 java/io run.sh tests fail when run on Windows XP CYGWIN Reviewed-by: tbell, alanb ! test/java/io/Serializable/evolution/RenamePackage/run.sh ! test/java/io/Serializable/serialver/classpath/run.sh ! test/java/io/Serializable/serialver/nested/run.sh Changeset: f9aa7e58974d Author: ohair Date: 2010-01-04 15:36 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/f9aa7e58974d 6911113: These tests do not work with CYGWIN: java/nio Reviewed-by: tbell, alanb ! test/java/nio/channels/Selector/lots_of_updates.sh ! test/java/nio/channels/spi/AsynchronousChannelProvider/custom_provider.sh ! test/java/nio/file/Files/walk_file_tree.sh ! test/java/nio/file/Path/delete_on_close.sh Changeset: 7595c6a198d3 Author: ohair Date: 2010-01-04 15:38 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/7595c6a198d3 6911117: These tests do not work with CYGWIN: com/sun/jdi Reviewed-by: tbell, alanb ! test/com/sun/jdi/ProcessAttachTest.sh ! test/com/sun/jdi/connect/spi/JdiLoadedByCustomLoader.sh Changeset: caf27afcae8d Author: ohair Date: 2010-01-04 15:41 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/caf27afcae8d 6911131: Test does not work with CYGWIN: sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.sh Reviewed-by: tbell, alanb ! test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh Changeset: f86db0646421 Author: ohair Date: 2010-01-04 15:45 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/f86db0646421 6911112: Tests do not work with CYGWIN: javax/imageio/, javax/script/, and sun/misc/ Reviewed-by: tbell, alanb ! test/javax/imageio/stream/StreamCloserLeak/run_test.sh ! test/javax/script/CommonSetup.sh ! test/javax/script/ProviderTest.sh ! test/sun/misc/URLClassPath/ClassnameCharTest.sh Changeset: 07fdd926aaea Author: ohair Date: 2010-01-04 15:49 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/07fdd926aaea 6911129: These tests do not work with CYGWIN: java/lang Reviewed-by: tbell, alanb ! test/java/beans/Introspector/Test5102804.java ! test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh ! test/java/lang/StringCoding/CheckEncodings.sh ! test/java/lang/System/finalization/FinExit.sh ! test/java/lang/annotation/loaderLeak/LoaderLeak.sh ! test/java/lang/instrument/appendToClassLoaderSearch/CommonSetup.sh Changeset: 1d6f315e42f1 Author: ohair Date: 2010-01-04 15:52 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/1d6f315e42f1 6911108: These tests do not work with CYGWIN: java/util Reviewed-by: tbell, alanb ! test/java/util/Currency/PropertiesTest.sh ! test/java/util/PluggableLocale/ExecTest.sh ! test/java/util/ResourceBundle/Bug6299235Test.sh ! test/java/util/ResourceBundle/Control/ExpirationTest.sh ! test/java/util/ServiceLoader/basic.sh Changeset: 6f2a5912f5be Author: ohair Date: 2010-01-04 15:56 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/6f2a5912f5be 6911104: Tests do not work with CYGWIN: tools, sun/tools, and com/sun/tools Reviewed-by: tbell, alanb ! test/com/sun/tools/attach/ApplicationSetup.sh ! test/com/sun/tools/attach/BasicTests.sh ! test/com/sun/tools/attach/CommonSetup.sh ! test/com/sun/tools/attach/PermissionTests.sh ! test/com/sun/tools/attach/ProviderTests.sh ! test/sun/jvmstat/testlibrary/utils.sh ! test/sun/tools/common/ApplicationSetup.sh ! test/sun/tools/common/CommonSetup.sh ! test/sun/tools/jps/jps-help.sh ! test/sun/tools/jstat/jstatHelp.sh ! test/sun/tools/jstat/jstatOptions1.sh ! test/sun/tools/jstatd/jstatdUsage1.sh ! test/sun/tools/native2ascii/Native2AsciiTests.sh ! test/tools/launcher/ChangeDataModel.sh ! test/tools/launcher/ClassPathWildCard.sh ! test/tools/launcher/DefaultLocaleTest.sh ! test/tools/launcher/UnicodeTest.sh Changeset: b7cf91e43c67 Author: ohair Date: 2010-01-05 13:44 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/b7cf91e43c67 Merge Changeset: d30f2e22fffd Author: mchung Date: 2010-01-07 08:14 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/d30f2e22fffd 6911737: Module build: generate modules with native libraries and any other files not in jar Summary: create modules under OUTPUTDIR/modules directory containing resources, native libraries Reviewed-by: alanb, ohair ! make/com/sun/crypto/provider/Makefile ! make/com/sun/java/pack/Makefile ! make/com/sun/java/pack/prop/Makefile ! make/com/sun/jndi/cosnaming/Makefile ! make/com/sun/jndi/dns/Makefile ! make/com/sun/jndi/ldap/Makefile ! make/com/sun/jndi/rmi/registry/Makefile ! make/com/sun/nio/sctp/Makefile ! make/com/sun/org/apache/xml/Makefile ! make/com/sun/rowset/Makefile ! make/com/sun/script/Makefile ! make/com/sun/security/auth/module/Makefile ! make/com/sun/servicetag/Makefile ! make/com/sun/tools/attach/Makefile ! make/common/Defs.gmk ! make/common/Demo.gmk ! make/common/Library.gmk ! make/common/Modules.gmk ! make/common/Program.gmk ! make/common/internal/BinaryPlugs.gmk ! make/common/internal/Resources.gmk ! make/common/shared/Sanity.gmk ! make/java/awt/Makefile ! make/java/fdlibm/Makefile ! make/java/hpi/native/Makefile ! make/java/hpi/windows/Makefile ! make/java/instrument/Makefile ! make/java/java/Makefile ! make/java/java_crw_demo/Makefile ! make/java/java_hprof_demo/Makefile ! make/java/jli/Makefile ! make/java/jvm/Makefile ! make/java/logging/Makefile ! make/java/main/java/Makefile ! make/java/main/javaw/Makefile ! make/java/management/Makefile ! make/java/net/Makefile ! make/java/nio/Makefile ! make/java/npt/Makefile - make/java/redist/FILES.gmk ! make/java/redist/Makefile + make/java/redist/fonts/Makefile + make/java/redist/sajdi/Makefile ! make/java/security/Makefile ! make/java/sql/Makefile ! make/java/text/Makefile ! make/java/verify/Makefile ! make/java/zip/Makefile ! make/javax/crypto/Makefile ! make/javax/imageio/Makefile ! make/javax/print/Makefile ! make/javax/sound/Makefile ! make/javax/sound/jsoundalsa/Makefile ! make/javax/sound/jsoundds/Makefile ! make/javax/sql/Makefile ! make/javax/swing/Makefile ! make/javax/swing/plaf/Makefile ! make/jpda/back/Makefile ! make/jpda/transport/Makefile ! make/jpda/transport/shmem/Makefile ! make/jpda/transport/socket/Makefile ! make/jpda/tty/Makefile ! make/launchers/Makefile ! make/mkdemo/jvmti/Makefile ! make/mkdemo/management/Makefile ! make/mksample/dtrace/Makefile ! make/mksample/jmx/jmx-scandir/Makefile ! make/mksample/nbproject/Makefile ! make/mksample/nio/file/Makefile ! make/mksample/nio/multicast/Makefile ! make/mksample/nio/server/Makefile ! make/mksample/scripting/scriptpad/Makefile ! make/mksample/webservices/EbayClient/Makefile ! make/mksample/webservices/EbayServer/Makefile ! make/modules/Makefile ! make/modules/modules.config ! make/modules/tools/nbproject/project.xml ! make/modules/tools/src/com/sun/classanalyzer/Module.java ! make/sun/applet/Makefile ! make/sun/awt/Makefile ! make/sun/cmm/Makefile ! make/sun/cmm/kcms/Makefile ! make/sun/cmm/lcms/Makefile ! make/sun/dcpr/Makefile ! make/sun/font/Makefile ! make/sun/font/t2k/Makefile ! make/sun/headless/Makefile ! make/sun/image/generic/Makefile ! make/sun/image/vis/Makefile ! make/sun/jar/Makefile ! make/sun/javazic/Makefile ! make/sun/jawt/Makefile ! make/sun/jconsole/Makefile ! make/sun/jdbc/Makefile ! make/sun/jdga/Makefile ! make/sun/jkernel/Makefile ! make/sun/jpeg/Makefile ! make/sun/launcher/Makefile ! make/sun/management/Makefile ! make/sun/native2ascii/Makefile ! make/sun/net/others/Makefile ! make/sun/net/spi/nameservice/dns/Makefile - make/sun/nio/FILES_java.gmk ! make/sun/nio/Makefile + make/sun/nio/cs/FILES_java.gmk + make/sun/nio/cs/Makefile ! make/sun/org/mozilla/javascript/Makefile ! make/sun/pisces/Makefile ! make/sun/rmi/cgi/Makefile ! make/sun/rmi/oldtools/Makefile ! make/sun/rmi/registry/Makefile ! make/sun/rmi/rmi/Makefile ! make/sun/rmi/rmic/Makefile ! make/sun/rmi/rmid/Makefile ! make/sun/security/ec/Makefile ! make/sun/security/jgss/wrapper/Makefile ! make/sun/security/krb5/Makefile ! make/sun/security/mscapi/Makefile ! make/sun/security/pkcs11/Makefile ! make/sun/security/smartcardio/Makefile ! make/sun/security/tools/Makefile ! make/sun/serialver/Makefile ! make/sun/splashscreen/Makefile ! make/sun/text/Makefile ! make/sun/tools/Makefile ! make/sun/tracing/dtrace/Makefile ! make/sun/xawt/Makefile Changeset: d36fa10de3cb Author: darcy Date: 2010-01-07 19:42 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/d36fa10de3cb 6915171: Clarify checked/unchecked status of Throwable and its subclasses Reviewed-by: dholmes ! src/share/classes/java/lang/Error.java ! src/share/classes/java/lang/Exception.java ! src/share/classes/java/lang/RuntimeException.java ! src/share/classes/java/lang/Throwable.java Changeset: 755dd6bdccca Author: alanb Date: 2010-01-09 19:32 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/755dd6bdccca 6907760: (file) OVERFLOW event should cause pending events to be purged Reviewed-by: chegar ! src/share/classes/sun/nio/fs/AbstractWatchKey.java + test/java/nio/file/WatchService/OverflowEventIsLoner.java Changeset: 0f0aee89e282 Author: alanb Date: 2010-01-10 12:29 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/0f0aee89e282 6913877: (fs) AsynchronousFileChannel.write can return wrong result under load [win] Reviewed-by: chegar ! src/windows/classes/sun/nio/ch/WindowsAsynchronousFileChannelImpl.java ! src/windows/native/sun/nio/ch/WindowsAsynchronousFileChannelImpl.c + test/java/nio/channels/AsynchronousFileChannel/LotsOfWrites.java Changeset: fc5578368a0c Author: chegar Date: 2010-01-11 16:04 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/fc5578368a0c 6915313: Reorganize implementation to make it more feasible to port to JDK6 Summary: This makes the SCTP implementation easier to run with Suns JDK6. Reviewed-by: alanb ! make/com/sun/nio/sctp/FILES_java.gmk ! make/com/sun/nio/sctp/mapfile-vers ! src/solaris/classes/sun/nio/ch/SctpChannelImpl.java ! src/solaris/classes/sun/nio/ch/SctpMultiChannelImpl.java ! src/solaris/classes/sun/nio/ch/SctpNet.java ! src/solaris/classes/sun/nio/ch/SctpServerChannelImpl.java - src/solaris/classes/sun/nio/ch/SctpSocketDispatcher.java ! src/solaris/native/sun/nio/ch/SctpNet.c Changeset: 9d38ab65acff Author: darcy Date: 2010-01-11 15:35 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/9d38ab65acff 6828204: NavigableSet.subSet() documentation refers to nonexistent parameters Reviewed-by: martin ! src/share/classes/java/util/NavigableMap.java ! src/share/classes/java/util/NavigableSet.java Changeset: ba74184a952c Author: mchung Date: 2010-01-12 15:19 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/ba74184a952c 6915502: Legal notice repairs needed in jdk/make/modules/tools Summary: Fix the legal notice in jdk/make/modules/tools Reviewed-by: tbell ! make/modules/tools/build.xml ! make/modules/tools/nbproject/project.properties ! make/modules/tools/nbproject/project.xml Changeset: fa0cb25202d8 Author: darcy Date: 2010-01-14 20:05 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/fa0cb25202d8 6908218: java.lang.Deprecated should have explicit @Target meta-annotation. Reviewed-by: mernst ! src/share/classes/java/lang/Deprecated.java ! src/share/classes/java/lang/SuppressWarnings.java Changeset: 51d62db10c93 Author: mullan Date: 2010-01-15 09:48 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/51d62db10c93 6915939: Exception should be thrown if OCSP SingleResponses contain unresolved critical extensions Reviewed-by: xuelei ! src/share/classes/sun/security/provider/certpath/OCSPResponse.java Changeset: 074f79397dda Author: mullan Date: 2010-01-15 09:58 -0500 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/074f79397dda Merge Changeset: b019cdae32dd Author: chegar Date: 2010-01-15 16:31 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/b019cdae32dd 6916922: (sctp) SO_RCVBUF & SO_SNDBUF returns twice the value set Reviewed-by: alanb ! src/solaris/native/sun/nio/ch/SctpNet.c ! test/com/sun/nio/sctp/SctpChannel/SocketOptionTests.java Changeset: 64f7b789aecc Author: lana Date: 2010-01-15 15:36 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/64f7b789aecc Merge - src/share/classes/sun/dyn/util/BytecodeSignature.java Changeset: 680d7d312a30 Author: chegar Date: 2010-01-18 14:01 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/680d7d312a30 6916890: (sctp) SctpChannel.send may cause IAE if given a heap buffer with an offset Reviewed-by: alanb ! src/solaris/classes/sun/nio/ch/SctpChannelImpl.java ! src/solaris/classes/sun/nio/ch/SctpMultiChannelImpl.java ! test/com/sun/nio/sctp/SctpChannel/Send.java ! test/com/sun/nio/sctp/SctpMultiChannel/Send.java Changeset: e0870a19b09e Author: chegar Date: 2010-01-18 14:56 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/e0870a19b09e 6917317: (sctp) Remove dependency on handleSocketError Reviewed-by: alanb ! src/solaris/native/sun/nio/ch/SctpNet.c ! test/com/sun/nio/sctp/SctpChannel/Connect.java Changeset: 42894ae6671c Author: alanb Date: 2010-01-18 15:21 +0000 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/42894ae6671c 6917021: (file) copyTo/moveTo can overrwrite existing file when target associated with custom provider Reviewed-by: chegar ! src/share/classes/sun/nio/fs/AbstractPath.java ! test/java/nio/file/Path/CopyAndMove.java + test/java/nio/file/Path/PassThroughFileSystem.java ! test/java/nio/file/TestUtil.java Changeset: 7f2b99bd5123 Author: ptisnovs Date: 2010-01-18 17:53 +0100 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/7f2b99bd5123 6917663: test/java/security/Provider/Turkish.java not samevm friendly Summary: Added othervm flag to ensure that this test will run in isolation. Reviewed-by: alanb ! test/java/security/Provider/Turkish.java Changeset: 056d88d0f4d4 Author: mchung Date: 2010-01-18 15:23 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/056d88d0f4d4 6916217: make/modules/Makefile requires ALT_JDK_IMPORT_PATH Summary: build modules not depending on ALT_JDK_IMPORT_PATH being set Reviewed-by: alanb ! make/common/Defs.gmk ! make/common/Modules.gmk ! make/modules/Makefile ! make/modules/optional.depconfig ! make/modules/tools/Makefile Changeset: 8339fd49bf6b Author: weijun Date: 2010-01-19 11:43 +0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/8339fd49bf6b 6917791: KeyTabEntry, when the byte value smaller then 16, the string drop '0' Reviewed-by: xuelei ! src/share/classes/sun/security/krb5/internal/ktab/KeyTabEntry.java + test/sun/security/krb5/ktab/KeyString.java Changeset: 10b993d417fc Author: lana Date: 2010-01-22 09:34 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/10b993d417fc Merge - make/java/redist/FILES.gmk - make/sun/nio/FILES_java.gmk - src/solaris/classes/sun/nio/ch/SctpSocketDispatcher.java Changeset: 31ed4132f345 Author: mikejwre Date: 2010-01-28 11:26 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/31ed4132f345 Added tag jdk7-b81 for changeset 10b993d417fc ! .hgtags Changeset: 2827e2508f5f Author: Greg Lewis Date: 2010-01-30 13:24 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/2827e2508f5f Merge from main OpenJDK repository ! make/com/sun/java/pack/Makefile ! make/com/sun/nio/sctp/Makefile ! make/com/sun/security/auth/module/Makefile ! make/com/sun/tools/attach/Makefile ! make/common/Defs.gmk ! make/common/Program.gmk ! make/common/internal/BinaryPlugs.gmk ! make/common/shared/Sanity.gmk ! make/java/hpi/native/Makefile ! make/java/instrument/Makefile ! make/java/java/Makefile ! make/java/java_hprof_demo/Makefile ! make/java/jli/Makefile ! make/java/management/Makefile ! make/java/net/Makefile ! make/java/nio/Makefile ! make/java/npt/Makefile - make/java/redist/FILES.gmk ! make/java/redist/Makefile ! make/java/security/Makefile ! make/java/zip/Makefile ! make/javax/sound/Makefile ! make/jpda/back/Makefile ! make/jpda/transport/socket/Makefile ! make/sun/awt/Makefile ! make/sun/font/Makefile ! make/sun/image/generic/Makefile ! make/sun/jawt/Makefile - make/sun/nio/FILES_java.gmk ! make/sun/security/ec/Makefile ! make/sun/security/jgss/wrapper/Makefile ! make/sun/security/pkcs11/Makefile ! make/sun/security/smartcardio/Makefile ! make/sun/splashscreen/Makefile ! make/sun/xawt/Makefile - src/solaris/classes/sun/nio/ch/SctpSocketDispatcher.java ! src/solaris/native/sun/nio/ch/SctpNet.c ! test/com/sun/jdi/connect/spi/JdiLoadedByCustomLoader.sh ! test/com/sun/tools/attach/CommonSetup.sh ! test/java/io/Serializable/evolution/RenamePackage/run.sh ! test/java/io/Serializable/serialver/classpath/run.sh ! test/java/io/Serializable/serialver/nested/run.sh ! test/java/lang/StringCoding/CheckEncodings.sh ! test/java/lang/annotation/loaderLeak/LoaderLeak.sh ! test/java/lang/instrument/appendToClassLoaderSearch/CommonSetup.sh ! test/java/util/Currency/PropertiesTest.sh ! test/java/util/PluggableLocale/ExecTest.sh ! test/java/util/ResourceBundle/Bug6299235Test.sh ! test/java/util/ResourceBundle/Control/ExpirationTest.sh ! test/java/util/ServiceLoader/basic.sh ! test/javax/script/CommonSetup.sh ! test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh ! test/sun/misc/URLClassPath/ClassnameCharTest.sh ! test/sun/tools/native2ascii/Native2AsciiTests.sh Changeset: 4b13a08ff889 Author: Greg Lewis Date: 2010-01-30 13:49 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/4b13a08ff889 . Make BSD specific changes in line with OS specific changes. ! make/java/redist/fonts/Makefile ! test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh ! test/java/nio/file/Path/CopyAndMove.java From glewis at eyesbeyond.com Sat Jan 30 17:45:39 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 31 Jan 2010 01:45:39 +0000 Subject: hg: bsd-port/bsd-port/langtools: 19 new changesets Message-ID: <20100131014631.1EC5541715@hg.openjdk.java.net> Changeset: 0220a3ab1a40 Author: jjg Date: 2010-01-06 13:09 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/0220a3ab1a40 6307206: missing lint control for pkg-info Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/resources/compiler.properties Changeset: d4e0ae9b4ecb Author: jjg Date: 2010-01-06 13:16 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/d4e0ae9b4ecb 6855236: Compiler Tree API TreePath class generates NullPointerException from Iterator Reviewed-by: darcy + test/tools/javac/T6855236.java Changeset: c315df443ff2 Author: jjg Date: 2010-01-08 11:11 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/c315df443ff2 6878147: Keywords.log is declared and initialized but unused Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/parser/Keywords.java Changeset: 2d15bf467aea Author: jjg Date: 2010-01-08 11:16 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/2d15bf467aea 6878146: incorrect unused value should be deleted Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/util/LayoutCharacters.java Changeset: 0e75f9f6d1d4 Author: jjg Date: 2010-01-08 11:28 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/0e75f9f6d1d4 6665791: com.sun.source.tree.MethodTree.toString() does not output default values Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/tree/Pretty.java + test/tools/javac/T6665791.java Changeset: aa06467be3a2 Author: jjg Date: 2010-01-08 11:32 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/aa06467be3a2 6915078: ALT_JDK_IMPORT_PATH typo in langtools/make/Makefile Reviewed-by: tbell ! make/Makefile Changeset: 96c56220dcc2 Author: jjg Date: 2010-01-08 13:14 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/96c56220dcc2 6915152: langtools build failures with import.jdk on Windows Reviewed-by: ohair ! make/build.xml Changeset: d02e99d31cc0 Author: jjg Date: 2010-01-11 14:05 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/d02e99d31cc0 6326754: Compiler will fail to handle -Xmaxerrs with -ve numbers Reviewed-by: ksrini ! src/share/classes/com/sun/tools/javac/util/Log.java + test/tools/javac/T6326754.java + test/tools/javac/T6326754.out Changeset: f983c1dca202 Author: jjg Date: 2010-01-11 14:09 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/f983c1dca202 6764569: [PATCH] Fix unused imports in list resource bundles Reviewed-by: ksrini Contributed-by: jesse.glick at sun.com ! make/tools/CompileProperties/CompileProperties.java ! make/tools/CompileProperties/CompilePropertiesTask.java Changeset: ca6bc36b2305 Author: jjg Date: 2010-01-11 14:12 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/ca6bc36b2305 6915476: java.util.regex.PatternSyntaxException in com.sun.tools.javac.nio.PathFileObject Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/nio/PathFileObject.java ! test/tools/javac/nio/compileTest/CompileTest.java Changeset: 14a4c45ef734 Author: jjg Date: 2010-01-11 14:17 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/14a4c45ef734 6915497: test test/tools/javac/nio/compileTest/CompileTest.java fails under Hudson Reviewed-by: darcy ! test/tools/javac/nio/compileTest/CompileTest.java Changeset: 51011e02c02f Author: jjg Date: 2010-01-11 16:18 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/51011e02c02f 6909470: langtools stub generator should prune unnecessary imports Reviewed-by: darcy ! make/tools/GenStubs/GenStubs.java Changeset: ccd51af119b4 Author: jjg Date: 2010-01-13 17:39 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/ccd51af119b4 6472751: SourcePositions.getStartPos returns incorrect value for enum constants 6567414: javac compiler reports no source file or line on enum constant declaration error Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java + test/tools/javac/T6472751.java + test/tools/javac/T6567414.java + test/tools/javac/T6567414.out Changeset: b96ad32c004a Author: jjg Date: 2010-01-14 17:18 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/b96ad32c004a 6917122: provide utility method to find the inner most type of a type tree Reviewed-by: darcy, jjg Contributed-by: mali at csail.mit.edu, mernst at cs.washington.edu ! src/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java Changeset: 2d0f4e7b44b2 Author: jjg Date: 2010-01-14 17:23 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/2d0f4e7b44b2 6916986: handle spaces in langtools launcher path Reviewed-by: darcy, jjg Contributed-by: mali at csail.mit.edu, mernst at cs.washington.edu ! src/share/bin/launcher.sh-template Changeset: a84062774f0e Author: lana Date: 2010-01-15 15:37 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/a84062774f0e Merge Changeset: cfabfcf9f110 Author: lana Date: 2010-01-22 09:34 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/cfabfcf9f110 Merge Changeset: 47003a3622f6 Author: mikejwre Date: 2010-01-28 11:27 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/47003a3622f6 Added tag jdk7-b81 for changeset cfabfcf9f110 ! .hgtags Changeset: f59795b390ba Author: Greg Lewis Date: 2010-01-30 08:53 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/f59795b390ba Merge from main OpenJDK repository From glewis at eyesbeyond.com Sat Jan 30 21:56:10 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 31 Jan 2010 05:56:10 +0000 Subject: hg: bsd-port/bsd-port/hotspot: . Extra linker flags to embed relative paths to find the other shared Message-ID: <20100131055613.CC85A41758@hg.openjdk.java.net> Changeset: 19a01d90250f Author: Greg Lewis Date: 2010-01-30 21:54 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/19a01d90250f . Extra linker flags to embed relative paths to find the other shared libraries at run time. This fixes executing the built JVM on MacOS X. Submitted by: John Rose ! make/bsd/makefiles/vm.make From glewis at eyesbeyond.com Sat Jan 30 21:56:29 2010 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Sun, 31 Jan 2010 05:56:29 +0000 Subject: hg: bsd-port/bsd-port/jdk: . Extra linker flags to embed relative paths to find the other shared Message-ID: <20100131055648.1AA2F41759@hg.openjdk.java.net> Changeset: 3ba2add1e969 Author: Greg Lewis Date: 2010-01-30 21:55 -0800 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/3ba2add1e969 . Extra linker flags to embed relative paths to find the other shared libraries at run time. This fixes executing the built JVM on MacOS X. Submitted by: John Rose ! make/common/Defs-bsd.gmk