jdk/README
author iveresov
Wed, 08 Dec 2010 02:36:36 -0800
changeset 7438 6e2a9ad88dba
parent 3742 5e1b8bc3cb1a
child 7666 7b994e3dd41d
permissions -rw-r--r--
7005241: C1: SEGV in java.util.concurrent.LinkedTransferQueue.xfer() with compressed oops Summary: Implementation of the CAS primitive for x64 compressed oops was incorrect. It kills rscratch2 register (r11), which is allocatable in C1. Also, we don't need to restore cmpval as it's never used after that, so we need only one temporary register, which can be scratch1. Reviewed-by: kvn, never
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
README:
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
  This file should be located at the top of the jdk Mercurial repository.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
  See http://openjdk.java.net/ for more information about the OpenJDK.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
Simple Build Instructions:
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
  1. Download and install a JDK 6 from
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
     http://java.sun.com/javase/downloads/index.jsp
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
     Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
3742
5e1b8bc3cb1a 6844267: Nimbus generator depends on JIBX
peterz
parents: 2658
diff changeset
    12
  2. Download and install the Binary Plugs for the most recent JDK7 from
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
     http://download.java.net/openjdk/jdk7/
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
     Set the environment variable ALT_BINARY_PLUGS_PATH to the location of
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
     these binary plugs.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
     
3742
5e1b8bc3cb1a 6844267: Nimbus generator depends on JIBX
peterz
parents: 2658
diff changeset
    17
  3. Either download and install the latest JDK7 from
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
     http://download.java.net/openjdk/jdk7/, or build your own complete
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
     OpenJDK7 by using the top level Makefile in the OpenJDK Mercurial forest.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
     Set the environment variable ALT_JDK_IMPORT_PATH to the location of
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
     this latest JDK7 or OpenJDK7 build.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
     
3742
5e1b8bc3cb1a 6844267: Nimbus generator depends on JIBX
peterz
parents: 2658
diff changeset
    23
  4. Check the sanity of doing a build with the current machine:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
       cd make && gnumake sanity
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
     See README-builds.html if you run into problems.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
  
3742
5e1b8bc3cb1a 6844267: Nimbus generator depends on JIBX
peterz
parents: 2658
diff changeset
    27
  5. Do a partial build of the jdk:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
       cd make && gnumake all
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
  
3742
5e1b8bc3cb1a 6844267: Nimbus generator depends on JIBX
peterz
parents: 2658
diff changeset
    30
  6. Construct the images:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
       cd make && gnumake images
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
     The resulting JDK image should be found in build/*/j2sdk-image
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34