slides

! "
$ "% "
#
&
' %
$ ( %
$
"%
$ * "% &
+
(
* ,(
! "
"( # &
"
)
)" "
(
%
"
%
"
- . &
# &
"% %%
%
$
( %( / *%
!
$
%
! "
&
&&
"%
"##"
#
$%
'( 1
"
)
%!
!0
"
$
2
3"%
0 &
"
(
"
$*
4
" "
0
0
(
(
%
("%
4
&
-! 0 % 5
$
"
$ *(#
! %
/
%
7%
* "! %
$
$
$
$
6
%
(
%
&
%
-! 0 %/
&# /
# 0
%
/ 87 %
/
&
%
"
(
'
"
$
" -! 0 %
-%
&7
*
%
"
$
&
9 8: &
" !#
*
$. "
& "
"
#
(
&
1 %
"
2
+ 0
#
$+ 0
#
?
)
!%
,(
0
)
)# (
%
&
;
-<
=:
! !
"
!#
/
;>(
<
#
%
2
+ 0
(
" !#
*
(
-!#
)
*
(
javac.work.opt: Distribution of pause time
javac.time.opt: Distribution of pause time
50
600
45
500
40
35
400
Count
Count
30
300
25
20
200
15
10
100
5
0
0
2
4
6
8
Pause Time(ms)
10
12
12 ms
14
0
0
5
10
15
20
Pause Time(ms)
12 ms
25
30
35
*
+
" !#
*
(
1.0
1
Utilization (%)
Mutator CPU Utilization
0.6 0.6
0.45
0.4 0.4
0.2 0.2
0
)
-!#
*
(
1
0.8 0.8
0.8 0.8
0.0
(
Mutator CPU Utilization
1.0
) ,
0.6 0.6
0.4 0.4
0.2 0.2
0.0
0
5
10
15
Time (s)
Time (s)
20
25
30
0
0
5
10
15
Time (s)
Time (s)
20
25
30
*
(
)
javac.work.opt: Space usage vs time
80
In Use (Time−Based)
In Use (Work−Based)
Maximum Live Data
GC trigger
70
60
Memory (Mb)
50
40
30
20
10
0
0
5
10
15
Time (s)
20
25
30
+
Real Time
Interval
Maximum Used
Memory
(
∆t
s
u
(
Allocation Rate
a*(∆GC)
m
Maximum Live
Memory
CPU Utilization
R
Collection Rate
"
&
- .
7 "(" % (
" 9="
; (
'
@ AB: ±8:
"
,( "
98C" 7
<
#
%
3
%
2#
D8
DE
8=
&7 ! 1 %
&7 ! 1 #
"
# -
&
)0
!
37
)0
)# -
%
& #
%
&
&%
1
page-internal
internal
external
( /012 ) , /013
1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
Internal
Recently Dead
Page-Internal
Live
co
m
pr
es
s
o
m
pe
ga
ud
i
m
tr
t
je
ss
ja
va
c
ja
ck
db
0
External
4
Perfect
Reuse
=
Allocated
Freed
4 '
Allocated
Freed
Allocated
Freed
Bytes
#
+ (
(
(
+ " 1 ) 0≤ ≤1
• Segregated by size
Freed Allocated
Reused Reused
min
(
f
/
f,
a
/
a)
i
i
i
&
5
-! 0 % 5
! %
Assumes =1
* "! %
%
Assumes =0
Adapts as varies
6
1
0.9
% Defrag
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
javac
db
jack
mtrt
jess
fragger
PAGES
De
fra
g
Fre
e
MS 1
DF 1
TIME
MS 2
DF 2
MS 3
MS 1
DF 1
MS 2
R
DF 2
MS 3
R
$
$ *%
$ *%
F
$
$ *%
)
" "
(%
&
"
%
5# (
&*1
& %
)
,(
&
"
%
"
%
0
!
6
#(
$ " !#
(
5 ( # 6
$
! %
5
$ 3&&
&0
#
$
&
&& "
$
% &
&
" %
$
(
0
% (
5= " 6
' (
F 0" "
("%
6
! " .
( "
&
*
5AB:6
587 " 7
6