Mercurial > hg > truffle
comparison src/share/vm/memory/referenceProcessor.cpp @ 21559:be896a1983c0
recast all Graal native code as JVMCI code (JBS:GRAAL-53)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 28 May 2015 15:36:48 +0200 |
parents | f01ebceea995 |
children | 12dcf5ba8b34 |
comparison
equal
deleted
inserted
replaced
21558:d563baeca9df | 21559:be896a1983c0 |
---|---|
55 _soft_ref_timestamp_clock = now; | 55 _soft_ref_timestamp_clock = now; |
56 // Also update the soft ref clock in j.l.r.SoftReference | 56 // Also update the soft ref clock in j.l.r.SoftReference |
57 java_lang_ref_SoftReference::set_clock(_soft_ref_timestamp_clock); | 57 java_lang_ref_SoftReference::set_clock(_soft_ref_timestamp_clock); |
58 | 58 |
59 _always_clear_soft_ref_policy = new AlwaysClearPolicy(); | 59 _always_clear_soft_ref_policy = new AlwaysClearPolicy(); |
60 #if defined(COMPILER2) || defined(GRAAL) | 60 #if defined(COMPILER2) || defined(JVMCI) |
61 _default_soft_ref_policy = new LRUMaxHeapPolicy(); | 61 _default_soft_ref_policy = new LRUMaxHeapPolicy(); |
62 #else | 62 #else |
63 _default_soft_ref_policy = new LRUCurrentHeapPolicy(); | 63 _default_soft_ref_policy = new LRUCurrentHeapPolicy(); |
64 #endif | 64 #endif |
65 if (_always_clear_soft_ref_policy == NULL || _default_soft_ref_policy == NULL) { | 65 if (_always_clear_soft_ref_policy == NULL || _default_soft_ref_policy == NULL) { |