This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Suggest an instrumentable WeakReference variant to help diagnose GC indeterminism bugs | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | -- Other -- | Assignee: | Antonin Nebuzelsky <anebuzelsky> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | issues, jtulach |
Priority: | P3 | Keywords: | API, T9Y |
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Jesse Glick
2004-04-27 06:39:53 UTC
Idea is perfect. Solution not that much. The best solution would be to instrument java.lang.reflect.WeakReference itself. Btw. this should be possible using java.lang.instrument.ClassFileTransformer in 1.5 If we really need support for 1.4, then we could just enhance the WeakListeners to react to your properties. Adding new class is an alternative, but only if any of the above solutions is not going to satisfy our needs. Using ClassFileTransformer sounds like a much better idea, nice. Relying on JDK 1.5 for this purpose is probably fine. Mostly performance related. Passing to Petr N. |