sounds very much like you have the multithreading option enabled.No, it doesn't because Optifine is worthless. The only thing it's good at is causing mass flickering and constant corrupted textures.
just don't use it. and if you must, you have to disable threading optimization in your graphics card drivers.
i still ended up with kinda corrupted mobs and stuff, so i just don't use it. optifine still helps with the performance.