Panama source code fails to compile

Ty Young youngty1997 at gmail.com
Mon Dec 28 21:06:58 UTC 2020


Just an FYI, the Panama source code have been broken since before 
Christmas with this error:


panama-foreign/src/hotspot/share/oops/methodData.cpp:1616:6: error: 
redefinition of 'static bool MethodData::profile_memory_access(const 
methodHandle&, int)'
  1616 | bool MethodData::profile_memory_access(const methodHandle& m, 
int bci) {
       |      ^~~~~~~~~~
/run/media/ty/Windows_Linux_Shared/OpenJDK/panama-foreign/src/hotspot/share/oops/methodData.cpp:1604:6: 
note: 'static bool MethodData::profile_memory_access(const 
methodHandle&, int)' previously defined here
  1604 | bool MethodData::profile_memory_access(const methodHandle& m, 
int bci) {
       |


I tried building using the usual `bash configure 
--disable-warnings-as-errors` and `make images` on (Arch) Linux. I am 
able to compile the standard JDK from source just fine.


I know I'm probably (metaphorically) screaming into the void here but... 
people often have data caps and JDK source code is *A LOT*. Not to 
mention the CPU and memory requirements needed to compile it in a 
reasonable amount of time, which are massive. I suggested months ago on 
the skara-dev list on having build succeeded/failed badges and/or 
automatic JDK builds but apparently no one is interested because it 
hasn't been added. Is making sure your code compiles & runs before you 
push it not a requirement for JDK developers or something? I understand 
it was Christmas but this has happened a few times now.


Just a little annoyed, sorry. I try to always use the latest builds so I 
don't have to constantly make large code changes, although there hasn't 
been many changes lately, which is odd. Is Panama's API nearly complete? 
What's the state of Panama at this point?





More information about the panama-dev mailing list