comparison mx/mx_graal.py @ 15805:dffc37fa7157

initialize HotSpotVMConfig fields efficiently from C++
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 20 May 2014 13:46:34 -0700
parents 50740bac9679
children 2460aed6c899
comparison
equal deleted inserted replaced
15804:bde6fbdbbe38 15805:dffc37fa7157
688 mustBuild = True 688 mustBuild = True
689 else: 689 else:
690 mustBuild = False 690 mustBuild = False
691 timestamp = os.path.getmtime(timestampFile) 691 timestamp = os.path.getmtime(timestampFile)
692 sources = [] 692 sources = []
693 for d in ['src', 'make']: 693 for d in ['src', 'make', 'graal/com.oracle.graal.hotspot/src_gen/hotspot']:
694 for root, dirnames, files in os.walk(join(_graal_home, d)): 694 for root, dirnames, files in os.walk(join(_graal_home, d)):
695 # ignore <graal>/src/share/tools 695 # ignore <graal>/src/share/tools
696 if root == join(_graal_home, 'src', 'share'): 696 if root == join(_graal_home, 'src', 'share'):
697 dirnames.remove('tools') 697 dirnames.remove('tools')
698 sources += [join(root, name) for name in files] 698 sources += [join(root, name) for name in files]