File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -194,14 +194,6 @@ function setupShield() {
194194 checkFail $? " shield kernel processes" " $log "
195195 logOk " moved kernel processes to 'system' CPU set"
196196
197- # Avoid JDK 16 warning which messes up JMH.
198- # Is there as better way to do this?
199- #
200- # $/usr/lib/jvm/jdk-16.0.1+9/bin/java -version
201- # [0.000s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /cpusets.
202- # openjdk version "16.0.1" 2021-04-20
203- sudo umount /cpusets
204-
205197 checkShield
206198}
207199
@@ -210,6 +202,14 @@ function resetShield() {
210202 sudo cset shield -r > /dev/null || true
211203 logOk " removed CPU shield"
212204 checkNoShield
205+
206+ # Avoid JDK 16 warning which messes up JMH.
207+ # Is there as better way to do this?
208+ #
209+ # $/usr/lib/jvm/jdk-16.0.1+9/bin/java -version
210+ # [0.000s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /cpusets.
211+ # openjdk version "16.0.1" 2021-04-20
212+ sudo umount /cpusets
213213}
214214
215215# Interrupt Affinity
You can’t perform that action at this time.
0 commit comments