| 25 | : lib_(lib), state_handle_(strings::Printf("%lld", random::New64())) {} |
| 26 | |
| 27 | FunctionHandleCache::~FunctionHandleCache() { |
| 28 | Status s = Clear(); |
| 29 | if (!s.ok()) { |
| 30 | LOG(ERROR) << "Failed to clear function handle cache: " << s.ToString(); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | Status FunctionHandleCache::Instantiate( |
| 35 | const string& function_name, AttrSlice attrs, |