OSDN Git Service

Change hash set to use noexcept
authorMathieu Chartier <mathieuc@google.com>
Wed, 6 Apr 2016 02:13:37 +0000 (19:13 -0700)
committerMathieu Chartier <mathieuc@google.com>
Wed, 6 Apr 2016 18:23:17 +0000 (11:23 -0700)
commit619a45759a93919b10f6981dd9c528cf967c4252
treeef484cab06471b80d78d546ba567cdb6c2007324
parent0fb09f7a441a2858c4724198f1ef74d9235be044
Change hash set to use noexcept

Otherwise it uses copy constructor instead of move constructor in
some cases (like std::vector).

Reduces shared dirty native by around 350k.

Bug: 27860101

(cherry picked from commit 5ef868c8332db11bb90284887a7f676f5dbef373)

Change-Id: I0311fa530fc2436630abebfdac2cad375eb4d691
runtime/base/hash_set.h
runtime/intern_table.cc