I would think that the relevant issue for DFP is accuracy. In financial 
calculations, errors introduced by conversions between binart and decimal could 
have severe consequences.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
René Jansen [rene.vincent.jan...@gmail.com]
Sent: Wednesday, March 22, 2023 12:42 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: watching JIT generated machine instructions on z/OS

Without reading any documentation (sorry!), the issue at hand is this. I want 
to show the performance gains of using DFP (Decimal Floating Point) for the 
typical financial application, after I noticed at some other client their 
bought packages seldom were compiled using the right compiler options (some 
could have run in 1966 or so - well I exaggerate, but a Z9 would not have been 
a problem).

This is for Java applications, and it proves slightly harder than I thought. I 
don’t have object modules to disassemble and while I can do 
-XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly on my mac or any Linux box, 
IBM’s J9 seems to ignore these altogether. For Linux and the mac there is a .so 
(or .dylib) that even disassembles what you’d otherwise are shown in hex - 
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fchriswhocodes.com%2Fhsdis%2F&data=05%7C01%7Csmetz3%40gmu.edu%7C3394774f98ab46e4740708db2af4874c%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C638151001950394674%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=917xRPfUzJ7ZZJrNZnfkdTgrmQ7RInY0Y8G9cF3xr4E%3D&reserved=0
 which is called hsdis but what I would not upload to other people’s machines 
lightly without building it myself.

Does anybody know how to ask the J9 (Java 8) on z/OS how to show me what it 
does when the JIT decides native code would be best?

many thanks in advance,

best regards,

René Jansen.



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to