-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b05
The regex pattern to determine if code cache segmentation is turned on does not work with some versions of grep. See for example this run:
http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=590676.JAVASE.NIGHTLY.VM.Comp_Baseline-Tiered.2014-09-19-101
http://scaaa008.us.oracle.com:9502/runs%2F590676.JAVASE.NIGHTLY.VM.Comp_Baseline-Tiered.2014-09-19-101/results/ResultDir/CodeCacheInfo/CodeCacheInfo.log
Code cache segmentation is turned on and the SegmentedCodeCache flag shows true but grep returns 0.
On the failing machine:
echo ' bool SegmentedCodeCache := true ' | grep -c '\sSegmentedCodeCache\s*:\?=\s*true'
0
On my local machine:
echo ' bool SegmentedCodeCache := true ' | grep -c '\sSegmentedCodeCache\s*:\?=\s*true'
1
I would suggest to use something like grep -c "SegmentedCodeCache.*=.*true".
Other runs that fail:
http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=590676.JAVASE.NIGHTLY.VM.Comp_Baseline-Tiered.2014-09-19-64
http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=590676.JAVASE.NIGHTLY.VM.Comp_Baseline-Tiered.2014-09-19-138
http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=590676.JAVASE.NIGHTLY.VM.Comp_Baseline-Tiered.2014-09-19-101
http://scaaa008.us.oracle.com:9502/runs%2F590676.JAVASE.NIGHTLY.VM.Comp_Baseline-Tiered.2014-09-19-101/results/ResultDir/CodeCacheInfo/CodeCacheInfo.log
Code cache segmentation is turned on and the SegmentedCodeCache flag shows true but grep returns 0.
On the failing machine:
echo ' bool SegmentedCodeCache := true ' | grep -c '\sSegmentedCodeCache\s*:\?=\s*true'
0
On my local machine:
echo ' bool SegmentedCodeCache := true ' | grep -c '\sSegmentedCodeCache\s*:\?=\s*true'
1
I would suggest to use something like grep -c "SegmentedCodeCache.*=.*true".
Other runs that fail:
http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=590676.JAVASE.NIGHTLY.VM.Comp_Baseline-Tiered.2014-09-19-64
http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=590676.JAVASE.NIGHTLY.VM.Comp_Baseline-Tiered.2014-09-19-138
- relates to
-
JDK-8058625 [TESTBUG] update vm/compiler/CodeCacheInfo test to use PrintFlagsFinal for SegmentedCodeCache value check
-
- Resolved
-