equal
deleted
inserted
replaced
85 private JNIHandles handles; |
85 private JNIHandles handles; |
86 private Interpreter interpreter; |
86 private Interpreter interpreter; |
87 private StubRoutines stubRoutines; |
87 private StubRoutines stubRoutines; |
88 private Bytes bytes; |
88 private Bytes bytes; |
89 |
89 |
90 private RicochetBlob ricochetBlob; |
|
91 |
|
92 /** Flags indicating whether we are attached to a core, C1, or C2 build */ |
90 /** Flags indicating whether we are attached to a core, C1, or C2 build */ |
93 private boolean usingClientCompiler; |
91 private boolean usingClientCompiler; |
94 private boolean usingServerCompiler; |
92 private boolean usingServerCompiler; |
95 /** Flag indicating whether UseTLAB is turned on */ |
93 /** Flag indicating whether UseTLAB is turned on */ |
96 private boolean useTLAB; |
94 private boolean useTLAB; |
626 stubRoutines = new StubRoutines(); |
624 stubRoutines = new StubRoutines(); |
627 } |
625 } |
628 return stubRoutines; |
626 return stubRoutines; |
629 } |
627 } |
630 |
628 |
631 public RicochetBlob ricochetBlob() { |
|
632 if (ricochetBlob == null) { |
|
633 Type ricochetType = db.lookupType("SharedRuntime"); |
|
634 AddressField ricochetBlobAddress = ricochetType.getAddressField("_ricochet_blob"); |
|
635 Address addr = ricochetBlobAddress.getValue(); |
|
636 if (addr != null) { |
|
637 ricochetBlob = new RicochetBlob(addr); |
|
638 } |
|
639 } |
|
640 return ricochetBlob; |
|
641 } |
|
642 |
|
643 public VMRegImpl getVMRegImplInfo() { |
629 public VMRegImpl getVMRegImplInfo() { |
644 if (vmregImpl == null) { |
630 if (vmregImpl == null) { |
645 vmregImpl = new VMRegImpl(); |
631 vmregImpl = new VMRegImpl(); |
646 } |
632 } |
647 return vmregImpl; |
633 return vmregImpl; |