RFR: 8287493: 32-bit Windows build failure in codeBlob.cpp after JDK-8283689

Zhengyu Gu zgu at openjdk.java.net
Wed Jun 8 18:25:36 UTC 2022


On Wed, 8 Jun 2022 16:50:22 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> See the bug report for example build failure. This breakage is widely seen on many build servers. The fix follows what [https://bugs.openjdk.org/browse/JDK-8210803](JDK-8210803) did for other blobs.
> 
> Additional testing:
>  - [x] Windows x86_32 fastdebug build
>  - [x] Linux x86_64 fastdebug `java/foreign`

Changes requested by zgu (Reviewer).

Marked as reviewed by zgu (Reviewer).

src/hotspot/share/code/codeBlob.hpp line 773:

> 771:   // below two-argument operator delete will be treated as a placement
> 772:   // delete rather than an ordinary sized delete; see C++14 3.7.4.2/p2.
> 773:   void operator delete(void* p);

I suggest to move this delete operator to RuntimeBlob to avoid adding this method in potential new subclasses.

-------------

PR: https://git.openjdk.java.net/jdk/pull/9088


More information about the hotspot-compiler-dev mailing list