comparison 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
comparison
equal deleted inserted replaced
18708:ed8477e2561c 18709:ae5033a78f1d
586 """ 586 """
587 Installs the jar(s) for a given Distribution into all existing Graal JDKs 587 Installs the jar(s) for a given Distribution into all existing Graal JDKs
588 """ 588 """
589 589
590 if dist.name == 'GRAAL_TRUFFLE': 590 if dist.name == 'GRAAL_TRUFFLE':
591 # The content in graalRuntime.inline.hpp is generated from Graal
592 # classes that implement com.oracle.graal.api.runtime.Service
593 # or contain com.oracle.graal.options.Option annotated fields.
594 # Since GRAAL_TRUFFLE is the leaf most distribution containing
595 # such classes, the generation is triggered when GRAAL_TRUFFLE
596 # is (re)built.
591 _update_graalRuntime_inline_hpp(dist) 597 _update_graalRuntime_inline_hpp(dist)
592 jdks = _jdksDir() 598 jdks = _jdksDir()
593 599
594 if exists(jdks): 600 if exists(jdks):
595 for e in os.listdir(jdks): 601 for e in os.listdir(jdks):