Heap Pollution (computer science)

Heap Pollution (computer science)

In Java programming language, type arguments and variables are not reified at run-time. As a result, different parameterized types are implemented by the same class or interface at run time. Indeed, all invocations of a given generic type declaration share a single run-time implementation. This results in the possibility of heap pollution.

Under certain conditions, it is possible that a variable of a parameterized type refers to an object that is not of that parameterized type. The variable will always refer to an object that is an instance of a class that implements the parameterized type.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Reification (computer science) — Reification is the act of making an abstract concept or low level implementation detail of a programming language accessible to the programmer.For example, * the C programming language reifies the low level detail of memory addresses * the Scheme …   Wikipedia

  • Gorakhpur — This article is about the municipality in Uttar Pradesh, India. For its namesake district, see Gorakhpur district. ‹ The template below (Cleanup spam) is being considered for deletion. See templates for discussion to help reach a consensus.›… …   Wikipedia

  • technology, history of — Introduction       the development over time of systematic techniques for making and doing things. The term technology, a combination of the Greek technē, “art, craft,” with logos, “word, speech,” meant in Greece a discourse on the arts, both… …   Universalium

  • literature — /lit euhr euh cheuhr, choor , li treuh /, n. 1. writings in which expression and form, in connection with ideas of permanent and universal interest, are characteristic or essential features, as poetry, novels, history, biography, and essays. 2.… …   Universalium

  • Mintek — Type Mining and Minerals Research Industry Mining Founded 1934 Headquarters …   Wikipedia

  • Brian J. Ford — Infobox Person name = Brian J. Ford image size = caption = birth name = birth date = 1939, age 68 birth place = Corsham, Wiltshire, England death date = death place = death cause = resting place = resting place coordinates = residence =… …   Wikipedia

  • George W. Bush — This article is about the 43rd U.S. president. For his father, the 41st U.S. president, see George H. W. Bush. For other persons of the same name, see George Bush. George W. Bush …   Wikipedia

  • Сабрина - маленькая ведьма (список серии) — Это список эпизодов сериала Сабрина маленькая ведьма, американского ситкома дебютировшего на канале ABC в 1996. В России сериал транслируется на канале СТС. Сериал состоит из 7 сезонов, включающих в себя 163 эпизода. Сериал впервые вышел в эфир… …   Википедия

  • Funeral — This article is about the ceremony. For other uses, see Funeral (disambiguation). The funeral of Pope John Paul II A funeral is a ceremony for celebrating, sanctifying, or remembering the life of a person who has died. Funerary customs comprise… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”