File tree Expand file tree Collapse file tree 6 files changed +42
-7
lines changed Expand file tree Collapse file tree 6 files changed +42
-7
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ export MMTK_PLAN=GenImmix
27
27
build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar fop
28
28
build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar luindex
29
29
30
+ # --- StickyImmix ---
31
+ export MMTK_PLAN=StickyImmix
32
+
33
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar fop
34
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar luindex
35
+
30
36
# -- GenCopy --
31
37
export MMTK_PLAN=GenCopy
32
38
Original file line number Diff line number Diff line change @@ -32,6 +32,12 @@ build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHea
32
32
build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar fop
33
33
build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar luindex
34
34
35
+ # --- StickyImmix ---
36
+ export MMTK_PLAN=StickyImmix
37
+
38
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar antlr
39
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar fop
40
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar luindex
35
41
36
42
# --- GenCopy ---
37
43
export MMTK_PLAN=GenCopy
Original file line number Diff line number Diff line change @@ -68,6 +68,22 @@ build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHea
68
68
# Test heap resizing
69
69
build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms20M -Xmx100M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar fop
70
70
71
+ # --- StickyImmix ---
72
+ export MMTK_PLAN=StickyImmix
73
+
74
+ # Test - the benchmarks that are commented out do not work yet
75
+ # Note: the command line options are necessary for now to ensure the benchmarks work. We may later change the options if we do not have these many constraints.
76
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms75M -Xmx75M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar antlr
77
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms75M -Xmx75M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar fop
78
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms75M -Xmx75M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar luindex
79
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms75M -Xmx75M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar lusearch
80
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms75M -Xmx75M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar pmd
81
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms75M -Xmx75M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar xalan
82
+
83
+ # These benchmarks take 40s+ for slowdebug build, we may consider removing them from the CI
84
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms200M -Xmx200M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar hsqldb
85
+ build/linux-x86_64-normal-server-$DEBUG_LEVEL /jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms200M -Xmx200M -jar $DACAPO_PATH /dacapo-2006-10-MR2.jar eclipse
86
+
71
87
# --- GenCopy ---
72
88
export MMTK_PLAN=GenCopy
73
89
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ once_cell = "1.10.0"
30
30
# - change branch
31
31
# - change repo name
32
32
# But other changes including adding/removing whitespaces in commented lines may break the CI.
33
- mmtk = { git = " https://github.com/mmtk/mmtk-core.git" , rev = " 0fb520a61795c5a079ce09f59f1da7af7c3422d5 " }
33
+ mmtk = { git = " https://github.com/mmtk/mmtk-core.git" , rev = " 08fd8ab0cfaa240a6e9a401afaec963ec0de8be5 " }
34
34
# Uncomment the following to build locally
35
35
# mmtk = { path = "../repos/mmtk-core" }
36
36
Original file line number Diff line number Diff line change @@ -101,4 +101,11 @@ impl ObjectModel<OpenJDK> for VMObjectModel {
101
101
( ( * UPCALLS ) . dump_object ) ( object) ;
102
102
}
103
103
}
104
+
105
+ fn is_object_sane ( object : ObjectReference ) -> bool {
106
+ let oop = Oop :: from ( object) ;
107
+ // It is only valid if klass.id is between 0 and 5 (see KlassID in openjdk/src/hotspot/share/oops/klass.hpp)
108
+ // If oop.klass is not a valid pointer, we may segfault here.
109
+ oop. klass . id as i32 >= 0 && ( oop. klass . id as i32 ) < 6
110
+ }
104
111
}
You can’t perform that action at this time.
0 commit comments