Submitted On 30-JUN-2003
crazyboblee
In addition to replacing method implementations, it would be nice if
this could add new fields, methods and interfaces to an existing
class.
Submitted On 05-AUG-2003
gnilux
I would like on the same topic to have a ClassPreProcessor
hook in the java.lang.ClassLoader as BEA provides it for its
custom classloader since a while. This is usefull to enable on
the fly instrumentation thru bytecode modification.
Explanation:
java -Dpreprocessor=impl.MyPreProcessor
Sun bundles a java.lang.ClassPreProcessor interface:
public void init(); // called once per JVM per PreProcessor imp
public byte[] weave(String klassFQN, byte[] initial,
ClassLoader caller);
Sun bundles an enhanced java.lang.ClassLoader which calls
the PreProcessor impl just before all calls to native defineClass
(..).
[ note: all of this is implemented since 0.8 release in
AspectWerkz - see
http://cvs.codehaus.org/viewcvs.cgi/aspectwerkz/src/main/or
g/codehaus/aspectwerkz/hook/?root=aspectwerkz ]
There are several arguments:
- BEA ships this sort of mechanism since a while. It is not JVM
wide but tight to the custom classloader deploying war / ejbs,
so it is a bit limited
- having such a thing is a huge progress and enabler for AOP
solutions like AspectWerkz and AspectJ and others
- having such a thing in java 1.5 could ease to plug a
weaving engine of an AOP framework. With AspectWerkz it is
possible to do it thru several options, mainly based on
replacing the java.lang.ClassLoader with the enhanced one
(thru HotSwap or as educational purpose thru -
Xbootclasspath [ forbiden by Sun license ])
- this features is already implemented thru JVMPI
CLASS_LOAD_HOOK event, and there is a need to have it at
the java level (mainly to have the callerClassLoader
information which is laking in JVMPI event).
- this feature could also be used to provide pure java
instrumentation solutions / profiling thru bytecode
modification.
- There are other projects like JMangler, who needs this kind
of feature and have implemented it thru HotSwap for now.
- This feature is not another HotSwap. It is used at
deployment time (class loading time). Not at runtime.
- This feature does not engages a big overhead when turned
off.
- The java 1.4 System classloader replacement option thru -
Djava.system.class.loader is a step forward, but is not
enough since it does not allow to intercept class loading by
custom classloaders used in J2EE.
If you need further information, please drop me an email -
alex@gnilux.com
Submitted On 21-SEP-2003
wagman
jfluid provides very important functionality not available
(forJava) elsewhere. It is also very nice, well designed
software. I would very much like to see it productized.
Submitted On 01-OCT-2003
samirss
Really cool stuff, Would love to see this in future Java version.
Submitted On 13-OCT-2003
rued_10
Jfluid has helped us tremendously where other tools such as
optimizeit and jProbe hasn't been able to. Therefore this is a
vital tool in Java development. PLease make this tool priority.
Rue de Silva
rdesilva@daleen.com
Submitted On 15-OCT-2003
RaviShankarN
An interesting tool with features not in JProfiler, JProbe or
OptimizeIt. I am working with JFluid and will see for
integration with my web applications later, thanks Mikhail.
Regards,
Ravi
Submitted On 20-OCT-2003
vijaypmariadassou
would be great to see dynamic bytecode instrumentation
capability producitzed in the JDK
Submitted On 21-OCT-2003
baliuka2
+1
Submitted On 23-NOV-2003
rickkar2
+1
Submitted On 24-NOV-2003
polperez
JFluid is very nice and must be included in the next JVM
paul.perez@pymma.com
Submitted On 05-DEC-2003
Hani_Kirollos
I really wish to see JFluid in J2SE.
Submitted On 21-DEC-2003
ehlarson
yes please.
Submitted On 07-JAN-2004
jamesjenner
Would love to see this in 1.5. So vote +1 from me.
James
Submitted On 08-JAN-2004
Venci75_
great :)
+1
Submitted On 25-JAN-2004
RaviShankarN
Hi Misha,
I had meen working on JFluid since October. Please
accept my vote, this is so great. Why dont you bundle it
with J2SE 1.5 ?? Thanks a lot
Submitted On 26-JAN-2004
Mandava_Babu
No doubt JFuid is perfect tool. Great work done.
Can it be bundled with JDK future releases? If so, it is
going to be one more milestone for SUN and no one
else can reach.
Keep up good work Misha.
Submitted On 30-JAN-2004
yzheng3000
This feature should no doubt be included in a future
JVM, and JVM 1.5 if possible. It will greatly increase
the atraction of Java technology.
Yan
Submitted On 31-JAN-2004
vgrama
It would definitely be a great thing to put in the standard
JVM. Being able to gather data without requiring some
special test environment is wonderful.
Submitted On 04-FEB-2004
stonedad
+1
Submitted On 06-FEB-2004
erb2000
+1
Submitted On 09-FEB-2004
jc138691
Great program!
Submitted On 19-FEB-2004
cronVortex
+ 1
Submitted On 20-FEB-2004
mseri70
Very interesting idea!
We would love to have it for injecting faults and
measure results in java application.
Submitted On 31-MAR-2004
aubergine
+1
I've just used JFluid - it's great!. This should be part of
a standard release.
Please do this as soon as possible, if possible.
Submitted On 14-APR-2004
Dorel.Vaida
java goes strong AOP. booh. that is enough to migrate
10 millions of VB geeks :-).
Enabling the things required by Jfluid, adding what
Crazybob previously said and introducing the
Multitasking VM would make Java the f*king coolest
platform ever existed. And ofc a java desktop that
would run at least as fast as windows (which could be
almost possible with MVM I suppose)
Submitted On 15-APR-2004
nurgleDE
JFluid is extremely valuable for debugging in the field.
Having it in the standard JVM would be a big win.
Submitted On 16-APR-2004
gdfgddfggf
I really like JFluid! Lets put it in the next JDK!!!!!
Submitted On 09-MAY-2004
euxx
This feature is now in a must have category and by the way,
other vendors are about to have it quite soon. For exampl
JRockit team is working close woth AspectWerkz guys to
provide a proprietory API for fast bytecode instrumentation
in the runtime.
Submitted On 05-JUN-2004
POLIMETLAV
HI This is very intresting. and hope can release full product soon ( for Client Server )
Polimetla VK
Submitted On 30-JUN-2004
pmckinstry13
this would be a great addition.
Submitted On 01-JUL-2004
ryojis
I found JFluid is a great tool. So I add +1 vote.
Submitted On 01-JUL-2004
aberezin1
I have used JFluid and can say that it is the ONLY technology for profiling that is non-intrusive enough to be usable for our application. I strongly recommend sun get these enhancements in the release VMs (1.4 and 1.5) at the very least as a -XX option.
Submitted On 04-AUG-2004
bacchu_anjan
Would love to see this technology incorporated into JDK GA release as soon as possible .
Thank you
Submitted On 01-NOV-2004
sunearlybird
+1
Submitted On 05-NOV-2004
Misha.Dmitriev
Many thanks to everybody who voted for JFluid!
I hope you will be pleased to know that JFluid is now out of the Lab and is being productized, initially as a NetBeans integrated profiler (check http://profiler.netbeans.org). Early access 1.0 "milestone" releases happen approximately every month and are available for download right now (so far they use the customized JVM based on JDK 1.4.2). The final JFluid/NetBeans Profiler 1.0 release is planned as a part of NetBeans 4.1 due in Spring 2005.
Misha Dmitriev,
former Sun Labs JFluid Project lead,
now at NetBeans
Submitted On 06-NOV-2004
tkgbm
+1 it would be very nice to see it added as a standard JVM feature
Submitted On 07-NOV-2004
chenbin
hope it can work with standard JVM ASAP.
Thanks!
Submitted On 10-MAR-2005
Dashrath123
Wish to see JFluid features as part of the Standard JVM very soon.
+1
Submitted On 10-MAR-2005
Dashrath123
Would look forward to see the JFluid features as part of the J2SE very soon
Submitted On 22-MAR-2005
AlexLamSL
J2SE update 4?! how about update 3? ^^
Submitted On 12-APR-2005
DiegoEsp
Simply Exceptional
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|