diff mx/mx_graal.py @ 18709:ae5033a78f1d

improved documentation around the mechanism for generating graalRuntime.inline.hpp
author Doug Simon <doug.simon@oracle.com>
date Thu, 18 Dec 2014 12:10:11 +1000
parents d5d1fbe270e9
children 88c280297bd2
line wrap: on
line diff
--- a/mx/mx_graal.py	Tue Dec 16 21:48:16 2014 +0100
+++ b/mx/mx_graal.py	Thu Dec 18 12:10:11 2014 +1000
@@ -588,6 +588,12 @@
     """
 
     if dist.name == 'GRAAL_TRUFFLE':
+        # The content in graalRuntime.inline.hpp is generated from Graal
+        # classes that implement com.oracle.graal.api.runtime.Service
+        # or contain com.oracle.graal.options.Option annotated fields.
+        # Since GRAAL_TRUFFLE is the leaf most distribution containing
+        # such classes, the generation is triggered when GRAAL_TRUFFLE
+        # is (re)built.
         _update_graalRuntime_inline_hpp(dist)
     jdks = _jdksDir()