• Keine Ergebnisse gefunden

Object mutability analysis for Java objects

N/A
N/A
Protected

Academic year: 2022

Aktie "Object mutability analysis for Java objects"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Object mutability analysis for Java objects

Note: another student ist working on this topic at the moment, using the Maxine Java VM as basis. This topic may still be taken using Hotspot as base platform.

While working with many Java applications we noticed that after startup. Long-living objects do not seem to mutate much, most objects seem to be immutable in a lot of applications. The task for this work is to experimentally verify this hypothesis on some applications.

Exact extent of this work will be determined with the supervisor depending on the type of course you want to get credit for. E.g. changes may be limited to the interpreter in Hotspot.

Possible Goals

• think about how to track mutability in a garbage collector efficiently. Possibilities may contain reference update tracking of (only long-living?) objects using e.g. card table and write barrier.

• statistically evaluate the observed behavior for different applications; slightly formalize the hypothesis and verify it.

• is there a correlation between object age and mutability?

• compare different approaches analyzing this hypothesis Possible Tasks

• track modifications in the Java application, possibly using write barriers and card table, generating log output as necessary.

• evaluate and visualize the data; not only summary data is interesting, also over-time visualization.

Other information

• programming language C++ (using HotSpot); some additional code needed for evaluation and visualization in a programming language of your choice in coordination with the advisor.

Further information

• Thomas Schatzl, HF305, thomas.schatzl@jku.at

Referenzen

ÄHNLICHE DOKUMENTE

Über PersistenceManager können auch alle Objekte einer bestimmten Klasse (Extent) abgeholt oder Queries definiert werden. Der PersistenceManagerFactory können über das Property-Objekt

Über PersistenceManager können auch alle Objekte einer bestimmten Klasse (Extent) abgeholt oder Queries definiert werden.. Der PersistenceManagerFactory können über das

Second Class Objekte haben keine ObjektID, sie können also beispielsweise nicht für sich alleine persistent gemacht werden mit

In FGJ (and GJ), unlike in FJ (and Java), covariant overriding on the method result type is allowed (see the rule for valid method overriding at the bottom of Figure 6), i.e.,

The subterm method returns an Object instead of a KatjaElement be- cause of the requirement that it should be possible to use self-written Java classes inside the Katja

rapid organisation of bibliographies for selected to pics, regions or other groupings. A practical advantage of the storage of data on cards is the avoidance of

A compile-time error also occurs in the method warp : it cannot access the protected member z of its parameter a , because while the class Point (the class in

The information re- quired to create the objects needs to be added to the FrameS- tate nodes that describe the mapping from machine state to Java Virtual Machine state whenever