bjects History
Pluquet Frédéric
Université Libre de Bruxelles (Brussels)
fpluquet@ulb.ac.be
For ESUG’06 - At Prague
1
Pluquet Frédéric
fpluquet@ulb.ac.be
What is Objects History ?
Object-Oriented Model
to save history (each state)
of live o...
Pluquet Frédéric
fpluquet@ulb.ac.be
Example :Without Objects History
3
x: 0
y: 0
x ← 10
::Point
x: 10
y: 0
::Point
Old val...
Pluquet Frédéric
fpluquet@ulb.ac.be
Example : With Objects History
4
x: 0
y: 0
x ← 10
::Point
x: 0,10
y: 0
::Point
x: 0,10...
Pluquet Frédéric
fpluquet@ulb.ac.be
Possible questions to the system
What are all states of this object ? What
are all val...
Pluquet Frédéric
fpluquet@ulb.ac.be
Applications (1/3)
Classical applications
CVS, SVN, ...
Add history to existing applic...
Pluquet Frédéric
fpluquet@ulb.ac.be
Applications (2/3)
Adding states to execution traces
To be able to inspect state of ob...
Pluquet Frédéric
fpluquet@ulb.ac.be
Applications (3/3)
Use Objects History to allow backtrack
with side-effects in Soul
cl...
Pluquet Frédéric
fpluquet@ulb.ac.be
State of research
Prototype for VisualWorks 7.4 and
Squeak 3.9
Prototype of a trace re...
Pluquet Frédéric
fpluquet@ulb.ac.be
Future Work
Optimization of Objects History
Incorporate Objects History into existing
...
Pluquet Frédéric
fpluquet@ulb.ac.be
Questions ?
11
origin:
corner:
::Rect
x: 0,60
y: 0,15
::Point
x: 0,10,30
y: 0,5,10
::P...
Upcoming SlideShare
Loading in …5
×

Objects History

552 views

Published on

Objects History, Pluquet Frédéric. ESUG 2006, Prague

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
552
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Objects History

  1. 1. bjects History Pluquet Frédéric Université Libre de Bruxelles (Brussels) fpluquet@ulb.ac.be For ESUG’06 - At Prague 1
  2. 2. Pluquet Frédéric fpluquet@ulb.ac.be What is Objects History ? Object-Oriented Model to save history (each state) of live objects efficiently 2 2
  3. 3. Pluquet Frédéric fpluquet@ulb.ac.be Example :Without Objects History 3 x: 0 y: 0 x ← 10 ::Point x: 10 y: 0 ::Point Old values of attributes are lost ! 3
  4. 4. Pluquet Frédéric fpluquet@ulb.ac.be Example : With Objects History 4 x: 0 y: 0 x ← 10 ::Point x: 0,10 y: 0 ::Point x: 0,10,20 y: 0 ::Point x ← 20 4
  5. 5. Pluquet Frédéric fpluquet@ulb.ac.be Possible questions to the system What are all states of this object ? What are all values of x ? What are the values of x when y equals 10 ? What is the state of this object at time t ? (t can be any time) 5 5
  6. 6. Pluquet Frédéric fpluquet@ulb.ac.be Applications (1/3) Classical applications CVS, SVN, ... Add history to existing applications Undo/Redo in Text Editor SmallWiki ... 6 6
  7. 7. Pluquet Frédéric fpluquet@ulb.ac.be Applications (2/3) Adding states to execution traces To be able to inspect state of objects at any given point in past “Timeless breakpoints” 7 7
  8. 8. Pluquet Frédéric fpluquet@ulb.ac.be Applications (3/3) Use Objects History to allow backtrack with side-effects in Soul class(?c), [?c compile: ?code], classNameMatching(?c, ‘A*’) 8 8
  9. 9. Pluquet Frédéric fpluquet@ulb.ac.be State of research Prototype for VisualWorks 7.4 and Squeak 3.9 Prototype of a trace recorder using Objects History (VW 7.4) Made text editors of VW 7.4 persistent using Objects History to undo / redo 9 9
  10. 10. Pluquet Frédéric fpluquet@ulb.ac.be Future Work Optimization of Objects History Incorporate Objects History into existing applications Collaboration with Marcus Denker ByteSurgeon + Objects History = an efficient Trace Recorder ? 10 10
  11. 11. Pluquet Frédéric fpluquet@ulb.ac.be Questions ? 11 origin: corner: ::Rect x: 0,60 y: 0,15 ::Point x: 0,10,30 y: 0,5,10 ::Point 11

×