Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ga/23.0.0.3/kernel/helpers/build/populate_scc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ if [ $TRIM_SCC == yes ]
then
echo "Calculating SCC layer upper bound, starting with initial size $SCC_SIZE."
# Populate the newly created class cache layer.
/opt/ibm/wlp/bin/server start && /opt/ibm/wlp/bin/server stop
/opt/ibm/wlp/bin/server start
/opt/ibm/wlp/bin/server stop
# Find out how full it is.
FULL=`( java $PRINT_LAYER_STATS || true ) 2>&1 | awk '/^Cache is [0-9.]*% .*full/ {print substr($3, 1, length($3)-1)}'`
echo "SCC layer is $FULL% full. Destroying layer."
Expand All @@ -120,7 +121,8 @@ fi
# Server start/stop to populate the /output/workarea and make subsequent server starts faster.
for ((i=0; i<$ITERATIONS; i++))
do
/opt/ibm/wlp/bin/server start && /opt/ibm/wlp/bin/server stop
/opt/ibm/wlp/bin/server start
/opt/ibm/wlp/bin/server stop
done

# restore umask
Expand Down
6 changes: 4 additions & 2 deletions ga/23.0.0.6/kernel/helpers/build/populate_scc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ if [ $TRIM_SCC == yes ]
then
echo "Calculating SCC layer upper bound, starting with initial size $SCC_SIZE."
# Populate the newly created class cache layer.
/opt/ibm/wlp/bin/server start && /opt/ibm/wlp/bin/server stop
/opt/ibm/wlp/bin/server start
/opt/ibm/wlp/bin/server stop
# Find out how full it is.
FULL=`( java $PRINT_LAYER_STATS || true ) 2>&1 | awk '/^Cache is [0-9.]*% .*full/ {print substr($3, 1, length($3)-1)}'`
echo "SCC layer is $FULL% full. Destroying layer."
Expand All @@ -120,7 +121,8 @@ fi
# Server start/stop to populate the /output/workarea and make subsequent server starts faster.
for ((i=0; i<$ITERATIONS; i++))
do
/opt/ibm/wlp/bin/server start && /opt/ibm/wlp/bin/server stop
/opt/ibm/wlp/bin/server start
/opt/ibm/wlp/bin/server stop
done

# restore umask
Expand Down
6 changes: 4 additions & 2 deletions ga/latest/kernel/helpers/build/populate_scc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ if [ $TRIM_SCC == yes ]
then
echo "Calculating SCC layer upper bound, starting with initial size $SCC_SIZE."
# Populate the newly created class cache layer.
/opt/ibm/wlp/bin/server start && /opt/ibm/wlp/bin/server stop
/opt/ibm/wlp/bin/server start
/opt/ibm/wlp/bin/server stop
# Find out how full it is.
FULL=`( java $PRINT_LAYER_STATS || true ) 2>&1 | awk '/^Cache is [0-9.]*% .*full/ {print substr($3, 1, length($3)-1)}'`
echo "SCC layer is $FULL% full. Destroying layer."
Expand All @@ -120,7 +121,8 @@ fi
# Server start/stop to populate the /output/workarea and make subsequent server starts faster.
for ((i=0; i<$ITERATIONS; i++))
do
/opt/ibm/wlp/bin/server start && /opt/ibm/wlp/bin/server stop
/opt/ibm/wlp/bin/server start
/opt/ibm/wlp/bin/server stop
done

# restore umask
Expand Down