You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We revert to our old repository and directory name `openjdk` instead of
`jdk`.
- The upstream OpenJDK project creates one repository for every major
release, such as `jdk21u`, and updates to that major versions are
pushed into that repository. The `jdk` repository is for the main
line development. Since our `openjdk` repo actually follows update
repos (such as `jdk21u`), it doesn't make sense to use `jdk` as the
repository name.
- There are many other JVM implementations out there, such as JikesRVM
and OpenJ9. Using the repository name `openjdk` emphasizes that it
is OpenJDK.
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Your working directory/
35
35
├─ mmtk-openjdk/
36
36
│ ├─ openjdk/
37
37
│ └─ mmtk/
38
-
├─ jdk/
38
+
├─ openjdk/
39
39
└─ mmtk-core/ (optional)
40
40
```
41
41
@@ -52,13 +52,13 @@ The binding repo mainly consists of two folders, `mmtk` and `openjdk`.
52
52
53
53
#### Checkout OpenJDK
54
54
55
-
You would need our OpenJDK fork which includes the support for a third party heap (like MMTk). We assume you put `jdk` as a sibling of `mmtk-openjdk`.
55
+
You would need our OpenJDK fork which includes the support for a third party heap (like MMTk). We assume you put `openjdk` as a sibling of `mmtk-openjdk`.
56
56
[`Cargo.toml`](mmtk/Cargo.toml) defines the version of OpenJDK that works with the version of `mmtk-openjdk`.
57
57
58
58
Assuming your current working directory is the parent folder of `mmtk-openjdk`, you can checkout out OpenJDK and the correct version using:
@@ -86,7 +86,7 @@ _**Note:** MMTk is only tested with the `server` build variant._
86
86
After cloned the OpenJDK repo, cd into the root directiory:
87
87
88
88
```console
89
-
$ cdjdk
89
+
$ cdopenjdk
90
90
```
91
91
92
92
Then select a `DEBUG_LEVEL`, can be one of `release`, `fastdebug`, `slowdebug` and `optimized`.
@@ -117,11 +117,11 @@ Then build OpenJDK (this will build MMTk as well):
117
117
$ make CONF=linux-x86_64-server-release THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk images
118
118
```
119
119
120
-
The output jdk is then found at `./build/linux-x86_64-server-release/images/jdk`.
120
+
The output JDK is then found at `./build/linux-x86_64-server-release/images/jdk`.
121
121
122
122
> **Note:** The above `make` command will build the `images` target, which is a proper release build of OpenJDK. It is **essential** that you use this target if you are planning on evaluating your build (e.g. measuring performance, gathering minimum heap values, etc). However, if you are simply developing and building incremental changes often, you may want to use the [`default` target or "exploded image"](https://github.com/openjdk/jdk21u/blob/master/doc/building.md#Running-make), which has a marginally shorter build time. However, be wary, as the exploded image is the (roughly) minimal set of outputs required to run the built JDK and is not guaranteed to run all benchmarks. It may have bloated minimum heap values as well.
123
-
>
124
-
> The exploded image can be built as follows. The output jdk can be found at `./build/linux-x86_64-server-$DEBUG_LEVEL/jdk`.
123
+
124
+
> The exploded image can be built as follows. The output JDK can be found at `./build/linux-x86_64-server-$DEBUG_LEVEL/jdk`.
125
125
>
126
126
> ```console
127
127
> $ make CONF=linux-x86_64-server-$DEBUG_LEVEL THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk
0 commit comments