This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: copile java 1.5 code


Hello Hans,

thanks for looking into this. Although I am only a user with respect
to compiler development I appreciate the insights you give.

BH> Unfortunately, unless I'm missing something, the profile seems to
BH> be missing 2/3 of the count (26 seconds vs. 90).

Till now, I always thought it was my fault not to understand those
profiles ;-)
Good to know that it is a problem with gprof. Is there a way around
that problem? I am using MinGW.

BH> _Jv_MonitorEnter and _Jv_MonitorExit are high, with 3.27 seconds
BH> each.  It looks like hash synchronization is enabled here?

According to "gcj -v", it is.

>> C:\data\develop\java\projects\compare\build\gcj>gcj -v Reading specs
>> from C:/program/mingw/bin/../lib/gcc/mingw32/3.4.2/specs Reading specs
>> from
>> C:/program/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../libgcj.spec
>> rename spec lib to liborig Configured with: ../gcc/configure
>> --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32
>> --prefix=/mingw --enable-threads --disable-nls
>> --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry
>> --disable-shared --e nable-sjlj-exceptions --enable-libgcj
>> --disable-java-awt --without-x --enable-java-gc=boehm
>> --disable-libgcj-debug --ena ble-interpreter
>> --enable-hash-synchronization --enable-libstdcxx-debug
>> Thread model: win32 gcc version 3.4.2 (mingw-special)


BH> This is a uniprocessor machine?  Is there more than one active thread
BH> in the application?

It is a P4 (Northwood stepping) with only one active core (see
detailed cpu information below). The application has only one active
main thread. I do not know wether any of the used standard Java
libraries create additional threads or not.

With kind regards,
Jens



----------------------
  CPU-Z version 1.23.2
----------------------

CPUID Output
------------------------------------------------------------------------------

Number of CPUs            1
APIC ID                   0
Name                      Intel Pentium 4
Code name                 Northwood
Specification             Intel(R) Pentium(R) 4 CPU 2.40GHz
Family/Model/Stepping     F27
Extended Family/Model     0/0
Brand ID                  9
Package                   mPGA-478
Core Stepping             C1
Technology                0.13µ
Instructions Sets         MMX, SSE, SSE2
Clock Speed               2410.7 MHz
Clock multiplier          x24.0
Front Side Bus Frequency  100.4 MHz
Bus Speed                 401.8 MHz
L1 Data Cache             8 KBytes, 4-way set associative, 64 Bytes line size
L1 Trace Cache            12 Kµops, 8-way set associative
L2 Cache                  512 KBytes, 8-way set associative, 64 Bytes line size
L2 Speed                  2410.7 MHz (Full)
L2 Location               On Chip
L2 Data Prefetch Logic    yes
L2 Bus Width              256 bits

        eax   ebx   ecx   edx
Function 00000000   00000002  756e6547  6c65746e  49656e69
Function 00000001   00000f27  00010809  00004400  bfebfbff
Function 00000002   665b5101  00000000  00000000  007b7040
Function 80000000   80000004  00000000  00000000  00000000
Function 80000001   00000000  00000000  00000000  00000000
Function 80000002   20202020  20202020  20202020  6e492020
Function 80000003   286c6574  50202952  69746e65  52286d75
Function 80000004   20342029  20555043  30342e32  007a4847

        edx   eax
MSR 0000002C      00000000  18100018
MSR 0000002A      00000000  00000000
MSR 00000017      000A0000  00000000
MSR 000001A0      00000000  00000089
MSR 0000008B      00000037  00000000


Chipset
------------------------------------------------------------------------------

Northbridge   Intel i850E rev. A3
Southbridge   Intel 82801BA (ICH2) rev. 4
AGP Revision    2.0
AGP Transfert Rate  4x
AGP SBA     supported, enabled
AGP Aperture    128 MBytes
Memory Type   RDRAM
Memory Size   1024 MBytes
Memory Frequency  401.8 MHz (1:1)
Total CAS# (tRDRAM) 10
Row To Column (tRCD)  7


Software
------------------------------------------------------------------------------

Windows Version   Microsoft Windows XP Workstation Service Pack 2 (Build 2600)
DirectX Version   9.0b


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]