Probabilistic Calling Context (PCC) is an online approach for maintaining a probabilistically unique value that represents the current calling context. PCC is described and evaluated in "Probabilistic Calling Context," OOPSLA 2007.
Included are a patch against Jikes RVM 2.4.6 and a README. Questions, problems, and feedback are welcome.
Patch against Jikes 2.4.6 and a README
Here's an updated version of this patch that will work with Jikes RVM 2.9.2
http://www.cs.kent.ac.uk/people/staff/cr20/MemTrace/pcc-2.9.2.patch
Graham Baker ported the PCC patch for Jikes RVM 2.4.6 up to Jikes RVM 2.9.2, and I have added some bug fixes. I don't seem to be able to add that patch as an attachment to this ticket, so maybe Mike can do that?
Added patch against Jikes 2.9.2, ported by Graham Baker (Tufts University) with fixes by Chris Ryder (University of Kent). Included is an updated README with the updated author info and a minor note about how building Jikes with the patch might have changed.
Note about the Jikes 2.4.6 patch: The Jikes 2.9.2 patch is highly recommended over the 2.4.6 patch :) However, if you plan to use the Jikes 2.4.6, please use the --ignore-whitespace option when applying the patch, since the patch was creating using diff's -w option.
Patch against Jikes 2.9.2 and an updated README (including a fix, thanks to Dingwen Yuan)