Hi,
I just inherited an old gui application that was implemented using AWT,
I think circa Java 1.1. It is running on a Sun-Blade 2500 running Solaris
2.9 and JRE 1.4.2, so it should be flying, but it's not. In fact, the
performance is horrible. How should I go about improving it? Do I upgrade
to JRE 1.5.0 first? Should I reimplement everything in Swing? Or do I get
a profiler, find out what the heck is killing me, and try to improve it?
ANY suggestion would be helpful. Thanks!
Ric 5 1506
Ric Has wrote: Hi, I just inherited an old gui application that was implemented using AWT, I think circa Java 1.1. It is running on a Sun-Blade 2500 running Solaris 2.9 and JRE 1.4.2, so it should be flying, but it's not. In fact, the performance is horrible. How should I go about improving it?
Do I upgrade to JRE 1.5.0 first?
No. Last I checked, 1.5 was still beta.
Should I reimplement everything in Swing?
Probably not at this point.
Or do I get a profiler, find out what the heck is killing me, and try to improve it?
That sounds like the right approach.
ANY suggestion would be helpful. Thanks!
Ric
Ray
--
XML is the programmer's duct tape.
"Ric Has" <rj***@sbcglobal.net> wrote in message
news:cb**********@nntp1.jpl.nasa.gov... Hi, I just inherited an old gui application that was implemented using
AWT, I think circa Java 1.1. It is running on a Sun-Blade 2500 running Solaris 2.9 and JRE 1.4.2, so it should be flying, but it's not. In fact, the performance is horrible. How should I go about improving it? Do I
upgrade to JRE 1.5.0 first? Should I reimplement everything in Swing? Or do I
get a profiler, find out what the heck is killing me, and try to improve it? ANY suggestion would be helpful. Thanks!
Ric
Rumor has it that Sun has made performance improvements
in their stuff over time so if you just recompile/run it with
J2SE 1.4.2 it might be fast enough with no real work on your
part. Keep the original though. I would stay away from 1.5
since it is not yet officially released and if there is a
problem it might be more complicated if you can't trust
the compiler/vm
Ok, it sounds like trying a profiler is the way to go. Does anyone have a
suggestion for one I can use?
Ric
"Ric Has" <rj***@sbcglobal.net> wrote Hi, I just inherited an old gui application that was implemented using
AWT, I think circa Java 1.1. It is running on a Sun-Blade 2500 running Solaris 2.9 and JRE 1.4.2, so it should be flying, but it's not. In fact, the performance is horrible. How should I go about improving it? Do I
upgrade to JRE 1.5.0 first? Should I reimplement everything in Swing? Or do I
get a profiler, find out what the heck is killing me, and try to improve it? ANY suggestion would be helpful. Thanks!
Ric
On Mon, 28 Jun 2004 11:08:37 -0700, "Ric Has" <rj***@sbcglobal.net>
wrote or quoted : Ok, it sounds like trying a profiler is the way to go. Does anyone have a suggestion for one I can use?
You can spend a heck of a lot money very quickly here. Try out some of
the free stuff first. See http://mindprod.com/jgloss/profiler.html
for lists of both.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Thanks for all the advice so far. One more thing. Someone suggested that I
might want to move it to Eclipse's SWT, and that there are tools to do this
in an automated way. Can anyone tell me anything about that? Thanks.
Ric
"Ric Has" <rj***@sbcglobal.net> wrote in message
news:cb**********@nntp1.jpl.nasa.gov... Hi, I just inherited an old gui application that was implemented using
AWT, I think circa Java 1.1. It is running on a Sun-Blade 2500 running Solaris 2.9 and JRE 1.4.2, so it should be flying, but it's not. In fact, the performance is horrible. How should I go about improving it? Do I
upgrade to JRE 1.5.0 first? Should I reimplement everything in Swing? Or do I
get a profiler, find out what the heck is killing me, and try to improve it? ANY suggestion would be helpful. Thanks!
Ric
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: AIM |
last post by:
Error in msvc in building inheritance.obj to build hello.pyd
Hello,
I am trying to build the boost 1.31.0 sample extension hello.cpp.
I can not compile the file inheritance.cpp because the two...
|
by: Graham Banks |
last post by:
Does using multiple inheritance introduce any more performance overhead than
single inheritance?
|
by: JKop |
last post by:
I'm starting to think that whenever you derive one class from another, that
you should use virtual inheritance *all* the time, unless you have an
explicit reason not to. I'm even thinking that...
|
by: Morgan Cheng |
last post by:
It seems no pattern defined by GoF takes advantage of multiple
inheritance. I am wondering if there is a situation where multiple
inheritance is a necessary solution.
When coding in C++, should...
|
by: davidrubin |
last post by:
Structural inheritance (inheriting implementation) is equivalent to
composition in that a particular method must either call 'Base::foo' or
invoke 'base.foo'. Apparantly, The Literature tells us to...
| |
by: Steve Jorgensen |
last post by:
Recently, I tried and did a poor job explaining an idea I've had for handling
a particular case of implementation inheritance that would be easy and obvious
in a fully OOP language, but is not at...
|
by: Matthew Louden |
last post by:
I want to know why C# doesnt support multiple inheritance? But why we can
inherit multiple interfaces instead? I know this is the rule, but I dont
understand why. Can anyone give me some concrete...
|
by: Ben Blank |
last post by:
I'm writing a family of classes which all inherit most of their methods and
code (including constructors) from a single base class. When attempting to
instance one of the derived classes using...
|
by: Shawnk |
last post by:
Some Sr. colleges and I have had an on going discussion relative to when and
if
C# will ever support 'true' multiple inheritance.
Relevant to this, I wanted to query the C# community (the...
|
by: Bart Simpson |
last post by:
I remember reading on parashift recently, that "Composition is for code
reuse, inheritance is for flexibility" see
(http://www.parashift.com/c++-faq-lite/smalltalk.html#faq-30.4)
This confused...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |