24.10.2013 Views

Using Kilim's isolation types for multicore efficiency

Using Kilim's isolation types for multicore efficiency

Using Kilim's isolation types for multicore efficiency

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Core Kilim syntax<br />

FuncDcl ::= free opt m(p : α) { (lb : Stmt) ∗; }<br />

Stmt ::= x := new | x := y<br />

| x := y.f | x.f := y | x := cut(y.f)<br />

| x := y[·] | x[·] := y | x := cut(y[·])<br />

| x := m(y) | if/goto lb | return x<br />

x, y, p ∈ variable names f ∈ field names<br />

lb ∈ label names m ∈ function names<br />

UNIVERSITYOF<br />

CAMBRIDGE<br />

sel ∈ field names ∪ {[·]} [·] pseudo field name <strong>for</strong> array access<br />

α, β ∈ <strong>isolation</strong> qualifier {free, cuttable, safe}<br />

null is treated as a special readonly variable<br />

<strong>Using</strong> Kilim’s <strong>isolation</strong> <strong>types</strong> <strong>for</strong> <strong>multicore</strong> <strong>efficiency</strong> 37 FoVeOOS’2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!