Skip to content

Commit c710db4

Browse files
committed
Pin v8 revision
1 parent 9728afd commit c710db4

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@ RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
1616
ENV PATH="/root/mmtk-v8-workspace/depot_tools:${PATH}"
1717
RUN gclient
1818
RUN fetch v8
19-
RUN gclient sync
2019
# Clone MMTk
2120
RUN git clone https://github.com/mmtk/mmtk-v8.git
2221

22+
# Checkout a working V8 revision.
23+
# TODO: Use latest v8.
24+
RUN git -C v8 checkout 191b637f28c0e2c6ca5f2d6ac89377039a754337
25+
RUN gclient sync
2326

2427
WORKDIR /root/mmtk-v8-workspace
2528
COPY ./args-debug.gn ./v8/out/x64.debug-mmtk/args.gn

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Build docker image
66

7-
*This will fetch the latest v8 and mmtk-v8 repo.*
7+
*This will fetch the ~~latest~~ `191b637f` v8 and the latest mmtk-v8 repo.*
88

99
```console
1010
$ docker image build -t mmtk-v8 .
@@ -24,3 +24,12 @@ $ docker container run mmtk-v8 # directly executes `gm x64.optdebug-mmtk.checkal
2424
$ docker container run -it mmtk-v8 bash
2525
root@70f9de71f77b:~/mmtk-v8-workspace# make check
2626
```
27+
28+
## Note!
29+
30+
A specific v8 git revision (`191b637f`) is used at the moment due to the different third-party-heap API between
31+
v8 and mmtk-v8 -- V8 TPH api is changing rapidly at the moment.
32+
33+
## TODO:
34+
35+
- [ ] Use latest v8

0 commit comments

Comments
 (0)