IRC.git
13 years agocode to do mark bits...
bdemsky [Thu, 16 Jun 2011 09:52:05 +0000 (09:52 +0000)]
code to do mark bits...

13 years agochanges to get rid of all type errors...
bdemsky [Wed, 15 Jun 2011 08:50:39 +0000 (08:50 +0000)]
changes to get rid of all type errors...

13 years agobug fix...gcloads was used twice for different things with different types...
bdemsky [Wed, 15 Jun 2011 07:42:08 +0000 (07:42 +0000)]
bug fix...gcloads was used twice for different things with different types...

13 years agochanges
bdemsky [Wed, 15 Jun 2011 04:04:04 +0000 (04:04 +0000)]
changes

13 years agomore work towards type checking
bdemsky [Wed, 15 Jun 2011 01:52:54 +0000 (01:52 +0000)]
more work towards type checking

13 years agoclean up typing mistakes
bdemsky [Tue, 14 Jun 2011 23:08:04 +0000 (23:08 +0000)]
clean up typing mistakes

13 years agofix mgchash table...isn't supposed to do allocation on the fly...nor use linked lists...
bdemsky [Tue, 14 Jun 2011 09:50:01 +0000 (09:50 +0000)]
fix mgchash table...isn't supposed to do allocation on the fly...nor use linked lists, etc...

13 years agochanges to support marked bit table...might work??
bdemsky [Tue, 14 Jun 2011 09:17:55 +0000 (09:17 +0000)]
changes to support marked bit table...might work??

13 years agochanges
bdemsky [Tue, 14 Jun 2011 06:39:33 +0000 (06:39 +0000)]
changes

13 years agomore changes
bdemsky [Tue, 14 Jun 2011 06:19:47 +0000 (06:19 +0000)]
more changes

13 years agomore changes...
bdemsky [Tue, 14 Jun 2011 06:15:32 +0000 (06:15 +0000)]
more changes...

13 years agofixes on GLB and returnloc calculation, etc.
yeom [Tue, 14 Jun 2011 00:01:51 +0000 (00:01 +0000)]
fixes on GLB and returnloc calculation, etc.
gets more class libraries

13 years agoMy changes
jzhou [Mon, 13 Jun 2011 17:53:50 +0000 (17:53 +0000)]
My changes

13 years agoremove extra locks and use atomics...hopefully i got this write...didn't test..
bdemsky [Sun, 12 Jun 2011 00:09:25 +0000 (00:09 +0000)]
remove extra locks and use atomics...hopefully i got this write...didn't test..

13 years agotinkering with debug stuff for barnes-hut
jjenista [Sat, 11 Jun 2011 23:14:01 +0000 (23:14 +0000)]
tinkering with debug stuff for barnes-hut

13 years agoa mini version of barnes hut
jjenista [Sat, 11 Jun 2011 23:12:33 +0000 (23:12 +0000)]
a mini version of barnes hut

13 years agosupport multi threading
jihoonl [Sat, 11 Jun 2011 22:56:19 +0000 (22:56 +0000)]
support multi threading

13 years agoa test that actually worked fine, but shows bad convergence behavior
jjenista [Sat, 11 Jun 2011 18:41:55 +0000 (18:41 +0000)]
a test that actually worked fine, but shows bad convergence behavior

13 years agofix bugs and changes on method checking
yeom [Sat, 11 Jun 2011 01:12:21 +0000 (01:12 +0000)]
fix bugs and changes on method checking

13 years agoBug fix: in some cases we really do want the heap region inherent reach set to have...
jjenista [Fri, 10 Jun 2011 18:26:28 +0000 (18:26 +0000)]
Bug fix: in some cases we really do want the heap region inherent reach set to have preds other than true, but when we allocate a new node, the state on that node should always have a true pred also.

13 years agoremove dependence on concat2...it isn't a standard string method
bdemsky [Thu, 9 Jun 2011 16:42:58 +0000 (16:42 +0000)]
remove dependence on concat2...it isn't a standard string method
fix some bugs...

13 years agomany changes towards classpath...
bdemsky [Thu, 9 Jun 2011 05:07:44 +0000 (05:07 +0000)]
many changes towards classpath...

13 years agoanother bug fix
bdemsky [Sun, 5 Jun 2011 08:23:44 +0000 (08:23 +0000)]
another bug fix

13 years agocode changes
bdemsky [Sun, 5 Jun 2011 08:15:17 +0000 (08:15 +0000)]
code changes

13 years agomore changes towards jni
bdemsky [Sun, 5 Jun 2011 08:07:45 +0000 (08:07 +0000)]
more changes towards jni

13 years agoadd new file
bdemsky [Sat, 4 Jun 2011 02:32:16 +0000 (02:32 +0000)]
add new file

13 years agochanges
bdemsky [Fri, 3 Jun 2011 23:50:21 +0000 (23:50 +0000)]
changes

13 years agomissing declaration
bdemsky [Fri, 3 Jun 2011 23:40:22 +0000 (23:40 +0000)]
missing declaration

13 years agofile changes
bdemsky [Fri, 3 Jun 2011 23:16:48 +0000 (23:16 +0000)]
file changes

13 years agoimproves the strategy of checkings: starting from ssjava outermost loop, then only...
yeom [Fri, 3 Jun 2011 23:03:56 +0000 (23:03 +0000)]
improves the strategy of checkings: starting from ssjava outermost loop, then only checking methods reachable from that loop. Also, check that every method which overrides an annotated method is also annotated.

13 years agofixed a bug where a single argument is passed in as more than one parameter, admittin...
jjenista [Fri, 3 Jun 2011 21:51:35 +0000 (21:51 +0000)]
fixed a bug where a single argument is passed in as more than one parameter, admitting only the last such edge

13 years agowithout this the call stie debug was capturing an immense amoutn of data
jjenista [Thu, 2 Jun 2011 23:43:16 +0000 (23:43 +0000)]
without this the call stie debug was capturing an immense amoutn of data

13 years agoforgot to remove some commented out code
jjenista [Thu, 2 Jun 2011 18:38:24 +0000 (18:38 +0000)]
forgot to remove some commented out code

13 years agoif a static field is encountered, ignore it gracefully
jjenista [Wed, 1 Jun 2011 23:50:01 +0000 (23:50 +0000)]
if a static field is encountered, ignore it gracefully

13 years agocomment out import statements while we are between implementations of the import...
jjenista [Wed, 1 Jun 2011 23:48:35 +0000 (23:48 +0000)]
comment out import statements while we are between implementations of the import feature

13 years agoParallelize the cache adpation
jzhou [Wed, 1 Jun 2011 22:30:01 +0000 (22:30 +0000)]
Parallelize the cache adpation

13 years agocheck points-to module improvements along with a bug fix for disjoint call transfer...
jjenista [Wed, 1 Jun 2011 19:12:01 +0000 (19:12 +0000)]
check points-to module improvements along with a bug fix for disjoint call transfer func.  The bug was when considering callee edges to bring to the caller, use the predicates of the edge only to decide

13 years agohaving a location namespace. location names appeared in field lattice declaration...
yeom [Wed, 1 Jun 2011 01:26:29 +0000 (01:26 +0000)]
having a location namespace. location names appeared in field lattice declaration are only valid within the declaration annotation. therefore a field location, which is an element of a composite location, will be specified by 'className.FieldLocation'. assuming that classname is unique right now but probably better to have a way to set each lattice with unique name.

13 years agoadd one more checking, class inheritance: If a class B has a super class A, all relat...
yeom [Tue, 31 May 2011 23:48:40 +0000 (23:48 +0000)]
add one more checking, class inheritance: If a class B has a super class A, all relative orderings of class A must be respected by the ordering lattice of class B.

13 years agoname flat IR graphs to include method signature to avoid losing some graphs
jjenista [Tue, 31 May 2011 18:05:19 +0000 (18:05 +0000)]
name flat IR graphs to include method signature to avoid losing some graphs

13 years agoadd NOLOCK back in
bdemsky [Fri, 27 May 2011 21:53:59 +0000 (21:53 +0000)]
add NOLOCK back in

13 years agoenable error checking
adash [Thu, 26 May 2011 18:07:08 +0000 (18:07 +0000)]
enable error checking
Current the recovery SpamFilter version crashes when garbled characters are added to a filename when opening the file.
For example: email5 becomes email5% or email5+
The error checking identifies an incorrect filename passed to it....I think there may be a bug in the BufferedReader or
the FileInputStream that causes this problem and passes a wrong filename to the nativeopen().

13 years agosome changes to allow running >1 thread per machine
adash [Thu, 26 May 2011 17:59:01 +0000 (17:59 +0000)]
some changes to allow running >1 thread per machine

13 years agofixes on bugs and checking of method invocation:
yeom [Wed, 25 May 2011 23:52:18 +0000 (23:52 +0000)]
fixes on bugs and checking of method invocation:
when verifying callee and caller hierarchy matching,
caller has a constraint that output(return value) should be lower than inputs(parameters).
In regarding to this constraint, callee needs to return something lower than its parameters, which means there is relative ordering relations between parameters and return value in the callee hierarchy. If there is no relative odering relations between them, it is compile-time error.

13 years agobug fixes and few extra things:
yeom [Tue, 24 May 2011 00:45:34 +0000 (00:45 +0000)]
bug fixes and few extra things:
-static final field has TOP location by default
-do not allow to copy values from one class global variable to another class global variable since they're not comparable.

13 years agohaving a new check that verifies the single reference constraint: only allows a singl...
yeom [Mon, 23 May 2011 19:40:03 +0000 (19:40 +0000)]
having a new check that verifies the single reference constraint: only allows a single reference, not aliases. The reference location must be destroyed after a variable or field is read. plus, changes on ssjava class library and test cases according to new checking.

13 years agofix bugs on the flow down rule and start annotating ssjava class library again
yeom [Fri, 20 May 2011 18:51:22 +0000 (18:51 +0000)]
fix bugs on the flow down rule and start annotating ssjava class library again

13 years agoallow Pointer to run for usual compilation modes... added a todo that points-to check...
jjenista [Fri, 20 May 2011 18:26:31 +0000 (18:26 +0000)]
allow Pointer to run for usual compilation modes... added a todo that points-to checks at runtime need some extra modeling for string literals added to Pointer before that system will work.

13 years agoFixed import bug but some other issues now pop up:
stephey [Fri, 20 May 2011 09:42:02 +0000 (09:42 +0000)]
Fixed import bug but some other issues now pop up:

1) make rcrpointer now crashes at processNode in Pointer.java starting at line 439. The switch statement encounters a FlatLiteralNode and doesn't know what to do with it.
2) We fail to parse Hashtable.java in the gnu labrary when using the -jni option. The line of code it fails at is "Hashtable.this.clear();". I can't seem to find any resources telling me what having a "this" midline means, so I can't fix it myself.

13 years agochanges.
yeom [Thu, 19 May 2011 22:17:28 +0000 (22:17 +0000)]
changes.

13 years agobug fix: heap contexts for call sites were propgated from caller to callee incorrectl...
jjenista [Wed, 18 May 2011 23:47:59 +0000 (23:47 +0000)]
bug fix: heap contexts for call sites were propgated from caller to callee incorrectly.  A heap context should propagate from the caller to each possible callee at virtual dispatch... how did this ever work??

13 years agochanges
adash [Wed, 18 May 2011 23:41:20 +0000 (23:41 +0000)]
changes

13 years agomore changes.
yeom [Wed, 18 May 2011 23:34:37 +0000 (23:34 +0000)]
more changes.

13 years agonew changes
adash [Wed, 18 May 2011 20:09:21 +0000 (20:09 +0000)]
new changes

13 years agoadd more test cases: delta func and local variable lattice
yeom [Wed, 18 May 2011 18:59:14 +0000 (18:59 +0000)]
add more test cases: delta func and local variable lattice

13 years agochanges.
yeom [Wed, 18 May 2011 18:58:09 +0000 (18:58 +0000)]
changes.

13 years agochanges to reflect ssjava design changes and temporarily remove some of ssjava class...
yeom [Wed, 18 May 2011 01:43:55 +0000 (01:43 +0000)]
changes to reflect ssjava design changes and temporarily remove some of ssjava class libraries until code revision is done

13 years agoupdates ssjava test case to reflect recent changes
yeom [Wed, 18 May 2011 01:34:57 +0000 (01:34 +0000)]
updates ssjava test case to reflect recent changes

13 years agoFix bug in multicore gc
jzhou [Tue, 17 May 2011 00:11:46 +0000 (00:11 +0000)]
Fix bug in multicore gc

13 years agoCreate analysis model for string literals in disjointness analysis that supports...
jjenista [Mon, 16 May 2011 22:32:57 +0000 (22:32 +0000)]
Create analysis model for string literals in disjointness analysis that supports checking allocation sites at runtime

13 years agonew changes for getting results for TOPLAS
adash [Mon, 16 May 2011 00:43:54 +0000 (00:43 +0000)]
new changes for getting results for TOPLAS

13 years agoprint allocation site when a points-to check fails to try and see what it should be
jjenista [Sat, 14 May 2011 00:33:14 +0000 (00:33 +0000)]
print allocation site when a points-to check fails to try and see what it should be

13 years agotake out all of ssjava stuff from state class and start re-organizing codes to reflec...
yeom [Fri, 13 May 2011 23:55:21 +0000 (23:55 +0000)]
take out all of ssjava stuff from state class and start re-organizing codes to reflect recent changes(separate lattices for fields and local vars, default lattice, ...)

13 years agomodel the allocation of string literals in heap analysis
jjenista [Fri, 13 May 2011 22:06:20 +0000 (22:06 +0000)]
model the allocation of string literals in heap analysis

13 years agothis system checks heap results against runtime pointers to look for analysis bugs...
jjenista [Fri, 13 May 2011 20:17:30 +0000 (20:17 +0000)]
this system checks heap results against runtime pointers to look for analysis bugs.  It is currently missing that FlatLiteral nodes can allocation a new string object, coming in a future update.

13 years agoisImmutable is used by the disjoint family of analyses and we added string because...
jjenista [Fri, 13 May 2011 20:15:56 +0000 (20:15 +0000)]
isImmutable is used by the disjoint family of analyses and we added string because we know its immutable and wanted to decrease the size of reach graphs.  To support the check-heap-results-versus-runtime system, go ahead a leave string out which is still a correct analysis but will also generate points-to information for a string and its byte array

13 years agoprint out brackets for array count to show humans
jjenista [Fri, 13 May 2011 20:13:38 +0000 (20:13 +0000)]
print out brackets for array count to show humans

13 years agodecide not to have additional grammar to declare the location hierarchy.
yeom [Fri, 13 May 2011 17:51:46 +0000 (17:51 +0000)]
decide not to have additional grammar to declare the location hierarchy.
all additional things for SSJava will be done using the standard Java annotation.

13 years agoNow the cache adapt version works
jzhou [Thu, 12 May 2011 22:59:20 +0000 (22:59 +0000)]
Now the cache adapt version works

13 years agoSome code clean and make the cache adapt version compile
jzhou [Thu, 12 May 2011 00:00:46 +0000 (00:00 +0000)]
Some code clean and make the cache adapt version compile

13 years agodifferentiate between analysis says something points-to nothing verus analysis doesn...
jjenista [Wed, 11 May 2011 21:29:50 +0000 (21:29 +0000)]
differentiate between analysis says something points-to nothing verus analysis doesn't care what something points-to

13 years agorevert previous change: DROPPING THE GRUNGE HAMMER. :)
jjenista [Wed, 11 May 2011 21:27:12 +0000 (21:27 +0000)]
revert previous change: DROPPING THE GRUNGE HAMMER.  :)

13 years agoallow external systems to write a flatIR graph
jjenista [Wed, 11 May 2011 21:16:36 +0000 (21:16 +0000)]
allow external systems to write a flatIR graph

13 years agoshow source code line numbers for this target
jjenista [Wed, 11 May 2011 21:11:35 +0000 (21:11 +0000)]
show source code line numbers for this target

13 years agoonly do this if we are using oooj-style tasks after this analysis otherwise it crashes
jjenista [Wed, 11 May 2011 17:59:18 +0000 (17:59 +0000)]
only do this if we are using oooj-style tasks after this analysis otherwise it crashes

13 years agodid we just ignore the static field modifier before? How did OOOJ or DOJ work with...
jjenista [Wed, 11 May 2011 17:41:51 +0000 (17:41 +0000)]
did we just ignore the static field modifier before?  How did OOOJ or DOJ work with static fields?  In the case of labyrinth there is no need for fields in the top-level singleton class to be static

13 years agoclean up points-to-check files properly
jjenista [Wed, 11 May 2011 17:40:46 +0000 (17:40 +0000)]
clean up points-to-check files properly

13 years agoCode clean
jzhou [Wed, 11 May 2011 01:20:49 +0000 (01:20 +0000)]
Code clean

13 years agoCode clean
jzhou [Tue, 10 May 2011 22:47:45 +0000 (22:47 +0000)]
Code clean

13 years agoSmall bug fix for SPECjbb. And the BAMBOO_ASSERT macro has been moved to runtime_arch...
jzhou [Tue, 10 May 2011 22:05:30 +0000 (22:05 +0000)]
Small bug fix for SPECjbb. And the BAMBOO_ASSERT macro has been moved to runtime_arch.h under tilera directory. It does not need the error # any more

13 years agolet's avoid using pointer parameters when possible
bdemsky [Tue, 10 May 2011 20:49:37 +0000 (20:49 +0000)]
let's avoid using pointer parameters when possible

13 years agoNew tool to check points-to results of a heap analysis against runtime pointers....
jjenista [Tue, 10 May 2011 20:37:37 +0000 (20:37 +0000)]
New tool to check points-to results of a heap analysis against runtime pointers.  Added an extension object system to BuildCode for this and future extensions.

13 years agoMake SPECjbb compile again
jzhou [Tue, 10 May 2011 18:52:57 +0000 (18:52 +0000)]
Make SPECjbb compile again

13 years agoimports are meaningful to compiler now
jjenista [Tue, 10 May 2011 18:22:54 +0000 (18:22 +0000)]
imports are meaningful to compiler now

13 years agoBug fix
jzhou [Tue, 10 May 2011 17:57:28 +0000 (17:57 +0000)]
Bug fix

13 years agocode change
bdemsky [Tue, 10 May 2011 07:17:36 +0000 (07:17 +0000)]
code change

13 years agooops...bug
bdemsky [Tue, 10 May 2011 07:14:31 +0000 (07:14 +0000)]
oops...bug

13 years agochange enum & other fixes
bdemsky [Tue, 10 May 2011 06:27:25 +0000 (06:27 +0000)]
change enum & other fixes

13 years agochanges:
bdemsky [Tue, 10 May 2011 06:26:32 +0000 (06:26 +0000)]
changes:
(1) use only header word to figure out length...
(2) figure out length using array lookup

13 years agoMore code clean
jzhou [Tue, 10 May 2011 01:20:04 +0000 (01:20 +0000)]
More code clean

13 years agoCode clean. Change BAMBOO_EXIT macro to print out file name and line #
jzhou [Mon, 9 May 2011 23:50:54 +0000 (23:50 +0000)]
Code clean. Change BAMBOO_EXIT macro to print out file name and line #

13 years agochanges committed
bdemsky [Mon, 9 May 2011 04:32:35 +0000 (04:32 +0000)]
changes committed

13 years agosome cleaning up of code.... simplify many loops...fix some tabbing...
bdemsky [Sat, 7 May 2011 06:38:39 +0000 (06:38 +0000)]
some cleaning up of code....  simplify many loops...fix some tabbing...

please get rid of globals when they aren't absolutely necessary....

think about how you can consolidate globals when possible also...

13 years agobug fix in multicore code
jzhou [Sat, 7 May 2011 00:52:52 +0000 (00:52 +0000)]
bug fix in multicore code

13 years agodisjoint should work like pointer in that taints for DOJ have whereDefined initialize...
jjenista [Thu, 5 May 2011 22:48:52 +0000 (22:48 +0000)]
disjoint should work like pointer in that taints for DOJ have whereDefined initialized to null because taints can propagate across a backedge to the stallsite, for example, which can become the non-null whereDefined element of a new taint

13 years agoan outstanding change to improve debugging of call sites
jjenista [Thu, 5 May 2011 21:49:40 +0000 (21:49 +0000)]
an outstanding change to improve debugging of call sites

13 years agoA small bug
jzhou [Thu, 5 May 2011 17:17:06 +0000 (17:17 +0000)]
A small bug

13 years agoPolish multicore code
jzhou [Thu, 5 May 2011 00:57:18 +0000 (00:57 +0000)]
Polish multicore code

13 years agosmall changes: have a way to specify the location of "this".
yeom [Wed, 4 May 2011 00:43:40 +0000 (00:43 +0000)]
small changes: have a way to specify the location of "this".

13 years agoallow debug reach graphs to show taints but supress node, edge AND taint predicates...
jjenista [Tue, 3 May 2011 17:38:26 +0000 (17:38 +0000)]
allow debug reach graphs to show taints but supress node, edge AND taint predicates, and some other tiny debug changes