Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.hpp @ 1584:b812ff5abc73
6958292: C1: Enable parallel compilation
Summary: Enable parallel compilation in C1
Reviewed-by: never, kvn
author | iveresov |
---|---|
date | Fri, 04 Jun 2010 11:18:04 -0700 |
parents | c18cbe5936b8 |
children | b17deadc902e |
comparison
equal
deleted
inserted
replaced
1583:02e771df338e | 1584:b812ff5abc73 |
---|---|
1574 | 1574 |
1575 ciEnv* _env; | 1575 ciEnv* _env; |
1576 CompileLog* _log; | 1576 CompileLog* _log; |
1577 CompileTask* _task; | 1577 CompileTask* _task; |
1578 CompileQueue* _queue; | 1578 CompileQueue* _queue; |
1579 BufferBlob* _buffer_blob; | |
1579 | 1580 |
1580 public: | 1581 public: |
1581 | 1582 |
1582 static CompilerThread* current(); | 1583 static CompilerThread* current(); |
1583 | 1584 |
1591 CompilerCounters* counters() { return _counters; } | 1592 CompilerCounters* counters() { return _counters; } |
1592 | 1593 |
1593 // Get/set the thread's compilation environment. | 1594 // Get/set the thread's compilation environment. |
1594 ciEnv* env() { return _env; } | 1595 ciEnv* env() { return _env; } |
1595 void set_env(ciEnv* env) { _env = env; } | 1596 void set_env(ciEnv* env) { _env = env; } |
1597 | |
1598 BufferBlob* get_buffer_blob() { return _buffer_blob; } | |
1599 void set_buffer_blob(BufferBlob* b) { _buffer_blob = b; }; | |
1596 | 1600 |
1597 // Get/set the thread's logging information | 1601 // Get/set the thread's logging information |
1598 CompileLog* log() { return _log; } | 1602 CompileLog* log() { return _log; } |
1599 void init_log(CompileLog* log) { | 1603 void init_log(CompileLog* log) { |
1600 // Set once, for good. | 1604 // Set once, for good. |