Adyen Tech
Published in

Adyen Tech

GraalVM: running C/C++ application safely in the Java world

By Chang-lun Wang, C/C++ Application Engineer, Adyen

Developers working together
Image by author

Current situation: technical background

Rewriting the code

Reusing the existing code

What’s GraalVM?

GraalVM tech stack
GraalVM official documentation (

Increased memory protection

Limitations and challenges

Performance impact

Performance analysis: simple JSON parser

JSON parser profiling

JSON parser profiling

Memory usage

JVM heap allocation graph
Heap allocation





Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store

Development and design stories from the company building the world’s payments infrastructure.