equal
deleted
inserted
replaced
73 Object ifNotAvailable); |
73 Object ifNotAvailable); |
74 |
74 |
75 /** Represents a context to track nmethod dependencies on CallSite instance target. */ |
75 /** Represents a context to track nmethod dependencies on CallSite instance target. */ |
76 static class CallSiteContext implements Runnable { |
76 static class CallSiteContext implements Runnable { |
77 //@Injected JVM_nmethodBucket* vmdependencies; |
77 //@Injected JVM_nmethodBucket* vmdependencies; |
|
78 //@Injected jlong last_cleanup; |
78 |
79 |
79 static CallSiteContext make(CallSite cs) { |
80 static CallSiteContext make(CallSite cs) { |
80 final CallSiteContext newContext = new CallSiteContext(); |
81 final CallSiteContext newContext = new CallSiteContext(); |
81 // CallSite instance is tracked by a Cleanable which clears native |
82 // CallSite instance is tracked by a Cleanable which clears native |
82 // structures allocated for CallSite context. Though the CallSite can |
83 // structures allocated for CallSite context. Though the CallSite can |