Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Alias control with read-only references
KTH, Tidigare Institutioner (före 2005), Data- och systemvetenskap, DSV.
2002 (engelsk)Inngår i: PROCEEDINGS OF THE 6TH JOINT CONFERENCE ON INFORMATION SCIENCES, DURHAM: ASSOC INTELLIGENT MACHINERY , 2002, s. 387-391Konferansepaper, Publicerat paper (Fagfellevurdert)
Abstract [en]

In object-oriented programs, the possibility of having an alias to an object's mutable state is a known source of bugs making programs difficult to test and maintain. We propose an access mode system for limiting the effects of aliasing by associating, with each reference, an access right to the object to which the reference refer. Mutator methods may not be invoked on read references, and only read references to the state can be obtained via any method invoked on a read reference. This enables exporting read references to objects without risking the objects being modified. The system realises access modes by annotations on variables, methods, method returns and parameters to methods. It is completely statically checkable without any need for run-time representation of modes and does not impose any run-time overhead.

sted, utgiver, år, opplag, sider
DURHAM: ASSOC INTELLIGENT MACHINERY , 2002. s. 387-391
Emneord [en]
Computer Science, Artificial Intelligence
HSV kategori
Identifikatorer
URN: urn:nbn:se:kth:diva-29040ISI: 000179331800089OAI: oai:DiVA.org:kth-29040DiVA, id: diva2:391894
Konferanse
6th Joint Conference on Information Sciences RES TRIANGLE PK, NC, MAR 08-13, 2002
Merknad
QC 20110125Tilgjengelig fra: 2011-01-25 Laget: 2011-01-25 Sist oppdatert: 2022-06-25bibliografisk kontrollert

Open Access i DiVA

Fulltekst mangler i DiVA

Søk i DiVA

Av forfatter/redaktør
Skoglund, Mats
Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar

urn-nbn

Altmetric

urn-nbn
Totalt: 41 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf